Re: [PHP] Re: Intermittent problem sending mail with PHP

2009-03-06 Thread Stephen Hutchison
thanks Jim - I change over to SwiftMailer and its working well. "Jim Lucas" wrote in message news:49ae0375.2040...@cmsws.com... Stephen Hutchison wrote: 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 t

Re: [PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Jim Lucas
Stephen Hutchison wrote: 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. Thanks Ste

Re: [PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Stephen Hutchison
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. Thanks Stephen "Chris" wrote in m

Re: [PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Chris
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'; else echo 'Error - please check your e-mail address'; More likely a mail server issue rather than the mail

[PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Stephen Hutchison
This appears to by a problem with the mail function. When I comment out the lines: if (mail($recipient, $subject, $message, $headers)) echo 'Succeeded'; else echo 'Error - please check your e-mail address'; and replace them with: echo $recipient . ''; echo $subject . ''; echo $