note 49676 added to ref.mail
| From: | MetinSavignano | Date: | Fri, 04 Feb 2005 13:32:35 +0000 |
| Subject: | note 49676 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84522@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49676
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49676&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49676&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49676&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49676&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49676&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49676&report=yes
Search -- http://master.php.net/manage/user-notes.php