mailtodisk - weird saving location

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

mailtodisk - weird saving location

Postby arxeiss » 22. August 2017 18:44

I have new installation of XAMPP on Windows, but I did few changes.
  • Installation path: C:\web\xampp
  • htdocs location: D:\www
  • Running as FastCGI

Everything works great, but problem is with email sending.
I have my webpage on http://localhost/myweb/ which is located in D:\www\myweb\.
When I sent email, C:\web\xampp\mailoutput is empty, no file inside. Then I found that folder was created and email is saved in D:\www\myweb\mailoutput\.

Is this new behaviour of mailtodisk utility? Because in readme just next to mailtodisk.exe is still written in should be in xampp\mailoutput folder.
I guess, that mailtodisk has no configuration file, right? Is there a way, how to change it, to save emails into xampp\mailoutput folder?

Thank you
arxeiss
 
Posts: 2
Joined: 22. August 2017 18:34
XAMPP version: 5.6.31
Operating System: Windows 10

Re: mailtodisk - weird saving location

Postby Altrea » 22. August 2017 20:53

arxeiss wrote:Is this new behaviour of mailtodisk utility? Because in readme just next to mailtodisk.exe is still written in should be in xampp\mailoutput folder.

No, the mailtodisk.exe has not changed for years. The script has problems with the output directory. It is based on the current working directory.

arxeiss wrote:I guess, that mailtodisk has no configuration file, right? Is there a way, how to change it, to save emails into xampp\mailoutput folder?

There is no configuration file, but each XAMPP version ships the python script sources so you can edit and compile it yourself if wanted.
These sources are present in the src folder.
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: mailtodisk - weird saving location

Postby arxeiss » 22. August 2017 21:02

Altrea wrote:No, the mailtodisk.exe has not changed for years. The script has problems with the output directory. It is based on the current working directory.

Can you explain it more please? What you mean problem with output directory?

I have installed XAMPP many times before with similar configuration (Only FastCGI is new now), so XAMPP was always in C:\web\xampp and document root in D:\www and emails were written in C:\web\xampp\mailoutput folder.
arxeiss
 
Posts: 2
Joined: 22. August 2017 18:34
XAMPP version: 5.6.31
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 113 guests