22415 Posts in 6944 Topics by 2750 members
|Go to End|
21 May 2011 at 7:14am
I have found a problem, that if the SMTP servers I'm using become unavailable or timeout.
It sends the form that I send an email with into a loop, where it keeps returning to form page on submit.
My question is how the email class handles something like no answer from the SMTP server?
Could really use some hlep with this please
21 May 2011 at 10:43am
From what I remember is no exceptions will be throw (SS doesn't really use exceptions that much currently), $email->send() will return a boolean based on whether the mail command worked, so you could check to see if that email is returned false (may return true even though it fails later on), Haven't tried it myself.
|Go to Top|