Gmail Error: System.net.mail.SmtpException 5.5.1 Authentication Error RESOLVED!

Project Fix:

If you receive an error message when your trying to connect your SugarCRM with Gmail: The server response was: 5.5.1 Authentication Required. This resolution is for those of you who have tried everything possible and still, SugarCRM will not send the email.

 

Error Message:

The server response was: 5.5.1 Authentication Required.

How to Fix:

  1. Login into your gmail account which is connected to your SugarCRM account.
  2. Go to this link to turn on the access to less secure apps: https://www.google.com/settings/security/lesssecureapps
  3. Turn on the “Access for less secure apps
  4. You’re good to go!

SugarCRM is 6.5.20.