SMTP MAIL ACTIVITY 2

Hello guys,

I have used SMTP activity to sent an outlook message, with “port:587” and
“server :-smtp-mail.outlook.com” and i have used get credential to get password of outlook mail. i have continuously getting an error

Does anyone have the solution.

@Gokul_Murali,

It looks like Authentication issue, can you pass the “Pass” variable to “SecurePassword” instead of “Pass” if it is a securestring type.

i have tried it now by converting the string to secure string and pass it in the secure password but still its throwing the same error.

@Gokul_Murali,

If MFA is enabled, then you need to Enabling dual-authentication, then this issue would not occur.

How can i enable that ?

Hi @Gokul_Murali ,

kindly try “Application-Specific Passwords” in secure password

Thanks,
RajKumar

@Gokul_Murali Please refer to Office 365 - SMTP can't authenticate - Microsoft Q&A

111

Now the error is showing like this.