[Fixed] PHPMailer SMTP Error: Could not connect to SMTP host.

This error is common while using PHPMailer with upgrader version >5.6. In lower versions its working fine. But when using greater than 5.6 version possibly we got this error . PHPMailer SMTP Error: Could not connect to SMTP host. I have...