Posted by Carl Vondrick on 01/31/06 06:46
Karl Irvin wrote:
> I'm looping a small array (2 to 4 rows max) and sending a email for each row
> using Send(blah blah)
>
> I occasionally (but not always) get the following error message
>
> Warning: mail() [function.mail]" Failed to receive in ...
>
> Is the array looping faster than the email can be sent or ???
>
> Is there a way to wait for the mail response (or a fixed period of time)
> before moving to the next row in the array?
>
>
>
I am not 100%, but PHP should not move on until the mail is done
sending. This is common programming (except JavaScript... yuck).
I have a mail script that batches mail messages in 100s, and I have
received this error.
--
Carl Vondrick
usenet@carlsoft.net
www.carlsoft.net
Navigation:
[Reply to this message]
|