Error on SMTP server. UiPath.Mail.Activities MailKit.Net.Smtp.SmtpProtocolException

Hi all,

While using send SMTP mail message activity i’m facing this issue :

RemoteException wrapping MailKit.Security.AuthenticationException: 535: 5.7.8 Username and Password not accepted. Learn more at
5.7.8 Check Gmail through other email platforms - Gmail Help r9sm11624248pfl.136 - gsmtp —> RemoteException wrapping MailKit.Net.Smtp.SmtpCommandException: 5.7.8 Username and Password not accepted. Learn more at
5.7.8 Check Gmail through other email platforms - Gmail Help r9sm11624248pfl.136 - gsmtp

Help me to figure this issue.

Thanks,
Manikandan Thangaraj

Does the account have two factor authentication applied? I experienced the same issue and I had to create an in app password for gmail.

hi,

its coming on disbale or enable the less secure apps .Try to this one and replay me back