note 48260 added to function.mail
| From: | NimaatYahoo dot com at osu1 dot php dot net | Date: | Fri, 17 Dec 2004 02:01:20 +0000 |
| Subject: | note 48260 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81881@lists.php.net to get a copy of this message | ||
I was wondering why I don't get any email using mail().
Then I discovered that my server does not allow local email but smtp.
If your have to use smtp method only, you may use PHPMailer class instead of mail()
This class file is available at:
http://phpmailer.sourceforge.net/
Very easy to use and to customize!
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48260
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48260&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48260&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48260&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48260&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48260&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48260&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48260&report=yes
Search -- http://master.php.net/manage/user-notes.php