Re: Send emails from PHP ... in a secure way
| From: | T . Lensselink | Date: | Tue, 05 Dec 2006 10:05:30 +0000 |
| Subject: | Re: Send emails from PHP ... in a secure way | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245512@lists.php.net to get a copy of this message | ||
You can store the emails in a database or textfile when an error occurs.
And use crontab to check the stored messages and send them to the mailserver.
On Tue, 05 Dec 2006 10:55:50 +0100, Ruben Rubio <ruben@rentalia.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> clive escribió:
>> Ruben Rubio wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>> the MTA then something is very wrong
>>
>> Why cant you save the email in a file or a database and then send it
>> later your self?
>
> Because if Mail server has a problem like server is down, or is busy, or
> has too many concurrent connections ... it will reject temporary the
> email. But that the email sent from php application _NEVER_ will try to
> resend the email. Temporary problem, is an error for the log ... but the
> email is lost.
>
> In that case, It would be interesting save temporary the email in order
> to be able to resend it later.
>
>>
>> clive
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFdUImIo1XmbAXRboRAkajAJ92ziV90uB7A9SQwlq7HnCAq/eWBwCgqobh
> ie72JNl+RNjKq9V1TfweAJY=
> =XVCd
> -----END PGP SIGNATURE-----
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php