Re: sending mail via SMTP server
| From: | J Wynia | Date: | Wed, 27 Feb 2002 03:42:49 +0000 |
| Subject: | Re: sending mail via SMTP server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86354@lists.php.net to get a copy of this message | ||
Does your script take longer than the default 30 seconds? It might be timing
out and dying. You may just need to give the script time to finish by making
the max_execution_time longer.
"Matthew Delmarter" <matt@adplusonline.com> wrote in message
news:NDBBKBIHLCDMDICHLDKGAEFACKAA.matt@adplusonline.com...
> I am using a script to send mail directly to the SMTP socket. It
> seemed to work OK for the first 200 emails - then stops sending them.
> Is there something I'm missing here?
>
> As you may be able to tell I'm trying to come to grips with how
> sockets/SMTP works. Is it like this...
>
> 1. I open the socket to the SMTP server
> 2. I fire the mail through - a few thousand emails
> 3. I close the socket
>
> Do I have to close and reopen the socket every few hundred emails?
>
> Regards,
> Matthew Delmarter
>
>