Sendmail and XAMPP on windows, how to set it up?

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

Sendmail and XAMPP on windows, how to set it up?

Postby Codesmith » 05. April 2007 22:57

I want to use php to send email from my development server (XAMPP XP Pro) using Mail(), just like I would on a production server.

I can't use the php.ini's "For Win32 only" smtp settings as my ISP requires authentication.

I tried to use the sendmail wrapper XAMPP installed, but nothing happens. No error messages, no sendmail log entries (which I get when calling it from the command line.)


Does anyone know how to configure XAMPP so that Mail() calls the sendmail.exe wrapper XAMPP installed?


Or does anyone know a SMTP server/proxy/forwarder I can setup locally which will simply pass the mail to my ISP's server with the proper authentication?


I did manage to install a local smtp server which holds messages so that I can examine them, which is better than nothing, but actually being able to actually send email from my development serer would be better.

Thanks
Codesmith
 
Posts: 101
Joined: 31. March 2007 21:11

Postby Wiedmann » 05. April 2007 23:08

Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Codesmith » 06. April 2007 04:54

Thanks, moving sendmail to a path without spaces did the trick!

sendmail_path = "C:/sendmail/sendmail.exe -t"
Codesmith
 
Posts: 101
Joined: 31. March 2007 21:11


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 223 guests