SyntaxFix
Write A Post
Hire A Developer
Questions
You could use the PEAR Mail classes and methods, which allows you to check for errors via:
if (PEAR::isError($mail)) { echo("<p>" . $mail->getMessage() . "</p>"); } else { echo("<p>Message successfully sent!</p>"); }
You can find an example here.