Page 1 of 1

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

PostPosted: 05. April 2007 22:57
by Codesmith
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

PostPosted: 05. April 2007 23:08
by Wiedmann

PostPosted: 06. April 2007 04:54
by Codesmith
Thanks, moving sendmail to a path without spaces did the trick!

sendmail_path = "C:/sendmail/sendmail.exe -t"