Reading SMTP password in clear-text

Hi,

I’m looking into reading the email server settings from XProtect from the VideoOS.Platform.ConfigurationItems.ToolOptionMailServer class. The problem I’m having is that the SmtpPassword property seems to return the password encrypted. How can I get the password decrypted?

https://doc.developer.milestonesys.com/mipsdk/MIPhelp/class_video_o_s_1_1_platform_1_1_configuration_items_1_1_tool_option_mail_server.html#a854f8db0b0963386aa8cc8f013b79a2b

There is currently no way to get the SmtpPassword in a decrypted state. Please see this thread where the issue is discussed and a possible workaround mentioned.

https://developer.milestonesys.com/s/question/0D5bH00001fBmuRSAS/how-to-send-email-via-smtpclient-using-xprotects-email-configuration

Ok, I understand. Thanks, Bo