I want to send an email without SSL using PHPMailer. I have enabled the debug mode so that I can check the details in the logs. This is giving an exception: Answer You’ve based your code on an old example, which doesn’t help. You can’t see what’s going on because you’ve only used 1 for SMTPDebug; set it to 2.