Re: Timeout during SMTP operation.
| From: | gilrain | Date: | Thu, 02 Jan 2003 22:39:06 +0000 |
| Subject: | Re: Timeout during SMTP operation. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130006@lists.php.net to get a copy of this message | ||
Okay, that does sound more efficient. I'd love to give this a try, but to be
completely honest I haven't done much from the shell other than basic
commands and managing MySQL. I do know that my host allows me to use
crontab, though, and most other common *nix programs.
Could you (or any of the other readers) explain how I would go about using
cron or at to do what my function is trying to do?
"Chris Hewitt" wrote:
> It may well be a DNS problem. If an email address resolves in DNS
> immediately then an email may be sent very quickly. If not, DNS timeout
> can be in minutes. You could try using the dig program to look for MX or
> A records for your email addresses.
>
> If you have a lot of customised emails to send then trying to do them on
> a web page is not such a good idea. I suggest doing them via a cron/at
> job, where there will be no timeout.
>
> Regards
> Chris