Hi Team,
I am facing the following issue and would require your help in resolving it.
I am using Send SMTP Mail Message component to send Email using Gmail.
The activity works when the password is in String format and provided as input in Password
property.
The activity does not work when password is stored in Asset and retrieved as SecureString and mapped to SecurePassword
property.
I have also verified if the password received from Asset is correct using the following piece of code in Assign activity and then using WriteLine to print the value of Password variable.
string Password = new System.Net.NetworkCredential(string.Empty, SecurePasswordFromAsset).Password
The activity also works if I convert the SecureString retrieved from Asset to String and map it to Password
property.
I have turned on less secure apps in Google account properties.
Any input here would be helpful.