SyntaxFix
Write A Post
Hire A Developer
Questions
Even if you use exceptions, it still output errors.You have to set $MailerDebug to False wich should look like this
$mail = new PHPMailer(); $mail->MailerDebug = false;