You said:

> IMO better this way than a short-timeout script - sending one email can
> sometimes take ages (long DNS lookup, slow connection to the host, etc...)

The mail() entry in the manual does say that it returns a boolean for send 
success/failure, however none of the
examples make any use of such feedback. Is there a way to work out if something has 
gone wrong with a particular
mail out, what the actual failure was, eg SMTP server down, DNS lookup failed, slow 
connection time-out, etc?
Indeed what will trigger a FALSE return?

Please advise,

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to