Found this one: How to pass SecureString variable as String format variable in SMTP Mail - #2 by nadim.warsi
But when I use New System.Net.NetworkCredential(String.Empty, in_ss_ExchangePassword).Password as password I get the following error:
The response received from the service didn’t contain valid XML.