SecureMailOption Property

The secure email option for an email server.

Syntax

Property SecureMailOption As VSSecureMailOption

Parameters

None

Examples

IronPython

#Get mail server secure mail option
mySecurity = Host.ScriptData.MailServer["myServer"].SecureMailOption

#Set mail server secure mail option
Host.ScriptData.MailServer["myServer"].SecureMailOption = VSSecureMailOption.SslOnConnect


C#

//Get mail secure mail option
VSSecureMailOption myProtocol = ScriptData.MailServers["myServer"].SecureMailOption;

//Set mail secure mail option
ScriptData.MailServers["myServer"].SecureMailOption = VSSecureMailOption.SslOnConnect;

Remarks