I'll check with my ISP but if is that then it's a very low limit. I'm finding it's only allowing two or three through before hanging.

Is there something i can put in my code so that it at least fails gracefully? It's not a good look just hanging like that.


"Chris" <dmag...@gmail.com> wrote in message news:49ada6ab.5060...@gmail.com...
Stephen Hutchison wrote:
This appears to by a problem with the mail function. When I comment out the lines:
if (mail($recipient, $subject, $message, $headers))
   echo 'Succeeded<br>';
   echo 'Error - please check your e-mail address<br>';

More likely a mail server issue rather than the mail function itself.

Do they have any restrictions on how often you can send email? (Some hosts only let you send say 50 emails an hour).

Log everything you're trying to do in php (log when it works, when it doesn't) and include a timestamp - then get your host to look at their mail server logs for the failure times and see what shows up.

Postgresql & php tutorials

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to