Is it possible to use encrypted credentials from orchestrator to send SMTP mail message?

Hi all,

When storing credentials as an asset on the orchestrator, the password becomes encrypted. However to send a SMTP mail message the Logon require that the password is given as a string. Since it’s not possible to convert a securestring to a string is there any other way to do this?

Thanks,
Hoang

It is possible, here it is

String plainStr = new System.Net.NetworkCredential(string.Empty, secureStr).Password

1 Like

Works perfect! Thanks a lot!