SMTP error - Could not authenticate

Dear team,

I am trying to integrate the google apps SMTP server email. But it keeps saying could not authenticate. I have used all the ports of SMTP, the username and password is correct. Please help

Thanks Sudhanshu


  • Could be that the SSL/TLS is required with Google Apps. Are you able to add that manually in the code and verify?
  • I needed to add the line: $this->phpmailer->SMTPSecure = 'tls'; in Mailer.php
This discussion has been closed.