I use to Send SMTP Mail Message activity but i can not use secure string for passsword.
Password is credential information so we have to be able to use secure string.
I saw this topic but it does not seems to unsolve.
What solution i can take?
I use to Send SMTP Mail Message activity but i can not use secure string for passsword.
Password is credential information so we have to be able to use secure string.
I saw this topic but it does not seems to unsolve.
What solution i can take?
Hi @tomo007,
Use this line of code in the password field: New System.Net.NetworkCredential(String.Empty, YourPassword).Password
.
Regard
Thanks you!
I tried it. However does it need to enter plain password?
I’d like to avoid to enter plain password on activity.
Please use below code to use secure string as password :
new System.Net.NetworkCredential(string.Empty, SecureString).Password
Hope it will work for you!!
@ParasTripathi
Thanks you for your information! I can send a mail with plain password.
Yes, in place of above statement you can use password as String in plain text if you want!!
Thanks & Regards,
Paras
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.