Problem with SMTP mail messages

It’s showing invalid credentials, but I gave exact credentials. Could somebody tell me, how to resolve it

you are using IMAP activity and saying problem with SMTP activity!
do check!
Cheers
@divakar.reddy

Sorry, i’m facing problem with IMAP mail messages only.

And I’m getting error like this, while I’m using SMTP send mail message.

Check Your username and password once and enable less secure apps from google setting

https://myaccount.google.com/lesssecureapps