I am trying to configure SMTP but when I sent an email in email logs the status is showing pending after some time it gives me below error.
I tried to fix this from this solution but couldn't fix it because the password and user are fine. https://www.outsystems.com/forums/discussion/48311/error-username-and-password-not-accepted-when-send-email/#Post251764
The configuration if the SMTP.
Hi Malalai,
Few moments before after seeing the Post, I gave a try for the same implementation in my personal environment and I also encountered the same error.... after following one of the point mentioned in the google document I got it resolved..
1) Email Configuration should look as shown below (set correct Username and Password value)
2) Using the below mentioned link enable the Less Secure App accessibility option in your Google account
https://myaccount.google.com/lesssecureapps
3) You will get an inbox mail like below
4) Check the implementation by Triggering a sample mail using a button which includes a SendEmail action flow node
Hope this helps you!
Regards,
Benjith Sam
Benjith Sam wrote:
I tried your suggested way on but it is showing in logs pending after some time is gave the same user and password error.
2-step authentication
Swatantra
If the mail status is pending it means -- the configuration is correct but something might be messing up under the hood..
Just wait for some time (it's asynchronous process)
Or
Try this...
After enabling the Less Secure App accessibility option in your Google account, reconfigure the Mail configuration in the Service Center with the correct credentials and field value...
Note: The Username and Password should be exactly the same which is used for Google Account Login
In my case the mail got triggered immediately just after I clicked the sent button from the UI screen..