Answer the question
In order to leave comments, you need to log in
Is it possible to catch an error when sending mail?
I send mail via SMTP using the Mail class. Sometimes there is a connection error with the mail server - the server waits for 30 seconds and ends the script with an error:
Connection could not be established with host...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question