mail2disk not working

Problems with the Windows version of XAMPP, questions, comments, and anything related.

mail2disk not working

Postby Bhujang » 16. October 2012 15:29

Hello friends, Pardon me for using poor English. I recently installed latest version of XAMPP, when I tried to sent a sample email locally with built-in mail form with XAMPP although the mail sent message came but mailTOdisk folder was empty, beneath the mail form I saw that mailtodisk is default option in XAMPP and we don't need to configure anything in php.ini file then what is the problem?
Another strange thing is that when I deleted the default sender and recipient fields ( which were postmaster@localhost and admin@localhost probably ) from the mail form and kept all fields empty event then the mail sent message appeared.

If someone can help me I would be very helpful to him as I searched on Google for solution but can't find a solution, I also searched in my PHP books but they were also of no use. Thanks.


XAMPP VERSION: 1.8.1
OS: VISTA SP2 HOME BASIC
INSTALLATION DIRECTORY: C:/XAMPP
Bhujang
 
Posts: 3
Joined: 16. October 2012 14:46
XAMPP Version: 5.6.3
Operating System: Windows Vista Home Basic SP2

Re: mail2disk not working

Postby WilliL » 16. October 2012 18:03

Hello Bhujang
I've got the same result:
sending a mail by "mailTOdisk" and no message was found in folder c:\xampp\mailoutput.

For I've been puzzeld, so I looked in folder c:\xampp\tmp because the date was changed.
There was a new folder created "c:\xampp\tmp\mailoutput" and the massege I sent by my template was found there.

Have a look, if it fits to you too.
Willi
WilliL
 
Posts: 619
Joined: 08. January 2010 10:54
XAMPP Version: 5.5.19
Operating System: Win7Home Prem 64 SP1

Re: mail2disk not working

Postby Bhujang » 17. October 2012 10:46

Thanks WilliL you are rights the mails are in c:\xampp\temp\mailoutput, but why are they going to that directory have you any clue about it?

And if I keep sender and recipient fields blank still I am finding it in directory mentioned by you,why WilliL?

And what exactly is mailtodisk if you can tell me aur give me a link on net which explains it, then it will be so kind of you.
Bhujang
 
Posts: 3
Joined: 16. October 2012 14:46
XAMPP Version: 5.6.3
Operating System: Windows Vista Home Basic SP2

Re: mail2disk not working

Postby WilliL » 17. October 2012 12:56

Hello Bhujang
Thanks WilliL you are rights the mails are in c:\xampp\temp\mailoutput, but why are they going to that directory have you any clue about it?
just a guess: a bug in mailtodisk.exe (I didn't found an ini file) or a misspelling of the path in readme file
And if I keep sender and recipient fields blank still I am finding it in directory mentioned by you,why WilliL?
just a guess: for no smtp is used there's no check / error massage. OMO its on yours to secure your script by checks (sender/ receiver mustn't be empty)
And what exactly is mailtodisk if you can tell me aur give me a link on net which explains it, then it will be so kind of you.
mailtodisk saves the sent mails on your drive, instead of using smtp (like eg sendmail, mercury). To find more information I please you to use google in your prefered language
Willi
WilliL
 
Posts: 619
Joined: 08. January 2010 10:54
XAMPP Version: 5.5.19
Operating System: Win7Home Prem 64 SP1

Re: mail2disk not working

Postby Altrea » 17. October 2012 15:26

WilliL wrote:
And what exactly is mailtodisk if you can tell me aur give me a link on net which explains it, then it will be so kind of you.
mailtodisk saves the sent mails on your drive, instead of using smtp (like eg sendmail, mercury). To find more information I please you to use google in your prefered language

MailtoDisk is a new XAMPP component written with Python by kvo (Kay Vogelgesang - developer of XAMPP for Windows). The sourcefiles are contained in the src folder.
A google search will not give any helpful results on that.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6491
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: mail2disk not working

Postby Bhujang » 17. October 2012 16:48

Thanks both of you and Altrea you are right there is not any helpful information on net about mailtodisk and how to use it with XAMPP, actually before raising my query in this forum I searched on Google and when I didnt find anything useful only then I asked here.

I think XAMPP lacks a proper help documentation, and the people behind this should start creating proper help documentation. I know that it will take time and money so all of should contribute by supporting either financly or by contributing to help documentation.
Bhujang
 
Posts: 3
Joined: 16. October 2012 14:46
XAMPP Version: 5.6.3
Operating System: Windows Vista Home Basic SP2

Re: mail2disk not working

Postby wantedxnn » 17. February 2015 21:15

is working....
1. when you use normal start apache not as service will write corect output file in directory ...\xampp\mailoutput\
2. when you use apache installed as service you will find output file in ...\xampp\apache\mailoutput\
wantedxnn
 
Posts: 1
Joined: 17. February 2015 21:04
XAMPP Version: 5.6.3
Operating System: Windows 8


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 58 guests