Error while connecting to SMTP server

While connecting to the SMTP server I’m facing error I’m running the suitecrm on localhost will this be the reason for the error occured?

Check out this video:

Again I’m facing errors while connecting to SMTP server
Can you please guide me to resolve this issue

Screenshot attached

I think your authentication details are not correct for some reason, sometimes this is tricky to get right.

You will find a way to get more detailed SMTP debug information here.

Here’s a link to a list of common problems on my blog as well as a walkthrough video addressing all the common problems. Please try this first, many people have been able to solve their problems watching the video. Also, what verison are you on.

Also, you can’t just use gmail login/password. That no longer works for SMTP. You have to setup an app password specifically for SMTP authentication to bypass the 2 factor login. Make sure you’ve done that in Gmail.

Check two things:


To disable “Less secure app access” in Gmail, you can:

  1. Log into your Gmail account
  2. Open another tab and go to the Less Secure Apps Setting
  3. Select “Turn on”

To enable IMAP in Gmail, you can do the following:

  1. Sign in to your Gmail account
  2. Click the gear icon in the top right corner
  3. Select Settings > See all settings
  4. Click the Forwarding and POP/IMAP tab
  5. In the IMAP Access section, select Enable IMAP
  6. Click Save Changes