PHPMailer: Called Mail() without being connected

I was getting the error message to send email using PHPMailer but didn’t get so much help after googling. Then, started to debug the error source and found that it generate for SMTP port and protocol mismatch.

Usually, SMTP port is not same for different protocol with/without ssl. So, It’s very important to find the correct SMTP port and protocol.

Leave a Comment