note 49676 deleted from ref.mail by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 20:20:42 +0000 |
| Subject: | note 49676 deleted from ref.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155373@lists.php.net to get a copy of this message | ||
Note Submitter: Metin Savignano <ms201 at zipfly dot de>
----
If you want to use the mail() function under *nix and Windows alike, I recommend using the little
fake sendmail utility available under http://glob.com.au/sendmail/ (bsd license).
I tried it and it works great for me. I can use the very same PHP code on both the Linux server as
well as my Windows test machine. It supports auth smtp.
Instructions: Download fake sendmail, unzip it into a directory of your choice, customize the
sendmail.ini to your smtp server, set the sendmail path in your php.ini, and you're done.