Re: Email sending errors
| From: | Richard Lynch | Date: | Mon, 18 Dec 2000 23:49:57 +0000 |
| Subject: | Re: Email sending errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30967@lists.php.net to get a copy of this message | ||
Well... If sendmail pukes, it probably won't be fixed within seconds...
So you'll probably need some sort of database entry of what has and hasn't
succeeded, with some sort of timing parameters for when to retry...
If you're on Un*x, and using sendmail, it usually works very, very
reliably -- unless you are just trying to splat too much email at it. The
solution for that is not to retry, but to rethink your program.
Manuel Lemos' package will drastically increase your performance and the
volume of mail you can handle, especially in bulk, by talking directly to
port 25 instead of flooding sendmail.
But even that won't help after a certain volume: There's a reason why
custom bulk email programs exist, and it ain't just for fun.
----- Original Message -----
From: Todd Cary <todd@aristesoftware.com>
Newsgroups: php.general
Sent: Monday, December 18, 2000 2:31 PM
Subject: [PHP] Email sending errors
> What is the best way to structure code to send emails so if some error
> occures by the OS in trying to send the email, there is a graceful retry
> or recovery?
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> todd@aristesoftware.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>