Send SMTP Mail Message Authentication unsuccessful

Hi,

Can anyone help me understand why this error message?? where as if I keep my credentials hard-coded in the activity then its working fine but when using the same via Get Credential its giving me this error.

Send SMTP Mail Message: 535: 5.7.3 Authentication unsuccessful [BM1PR01CA0152.INDPRD01.PROD.OUTLOOK.COM]

P.S - I can read email with using the Get credential.

@Pablito @loginerror @ovi

@indrajit.shah

Check below for your reference

https://answers.microsoft.com/en-us/msoffice/forum/msoffice_o365admin-mso_password-mso_o365b/535-573-authentication-unsuccessful/cd915151-ae89-4505-8ad3-29680554e710

Hope this helps you

Thanks

1 Like

@ksrinu070184 , thanks for the reply but unfortunately it’s not helpful.

Hi @indrajit.shah ,

Have you enabled less secure apps in your gmail account ?Kindly enable less secure apps then you will able to send the mails. use below link to enable.

https://myaccount.google.com/lesssecureapps?pli=1

Thanks!

I am not using Gmail

Hi @indrajit.shah

Which domain mail u are using ?

@NIVED_NAMBIAR
Its office365 and i am using the correct configuration as i tried the same SMTP configuration with credentials hard-coded in the code and it worked but for when passing the same from asset credential(user name and password only) and rest the configuration through variable, its not working.

Did u convert the password retrived from the asset to string ? @indrajit.shah

No, but I decrypted the password from the secure string and checked.