Unable to configure SMTP : SMTP connection failed

Unable to configure SMTP : SMTP connection failed

Error  : 



Error in AutomationEdge Logs : 

2021-02-02 16:50:10 IST (+05:30) https-jsse-nio-443-exec-42 ERROR AEEmailServiceImpl:466 - SMTP connection failed
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException.

Resolution :

Please check the below setting in your google account before configuring SMTP-

Turning on 'less secure apps' settings as mailbox user-

  1. Go to your (Google Account).
  2. On the left navigation panel, click Security.
  3. On the bottom of the page, in the Less secure app access panel, click Turn on access.
  4. Click the Save button.
Unlock Captcha-
  1. If there is still a problem, Open Gmail from a browser and only sign into the account you’re trying to add. Be sure to be signed out of all your other accounts.
  2. Go to this link: https://accounts.google.com/DisplayUnlockCaptcha and click on Continue.


      Links to better reach 

            Bot Store

             EPD