note 54576 added to ref.mail
| From: | kevin at kidojo dot com | Date: | Fri, 08 Jul 2005 08:31:17 +0000 |
| Subject: | note 54576 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-91647@lists.php.net to get a copy of this message | ||
For those who are trying to determine whether they should be using an SMTP server *or* the local
sendmail (or equivelent), keep the following in mind.
Using an SMTP server assumes 100% connectivity. That is to say, if network connectivity goes down
even for a few seconds, then the email that was to be sent during this time will fail and never
retry.
Using a local sendmail instantiation is a fair bit less error prone. If the webserver that is
executing the mail() call looses connectivity, the email will be queued up on disk and it will most
likely still be sent out. Sendmail will attempt to send the message for (usually) up to 5 days.
The mail() function defaults to using the local sendmail.
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54576
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54576&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54576&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54576&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54576&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54576&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54576&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54576&report=yes
Search -- http://master.php.net/manage/user-notes.php