Password Property

The password of the host account.

Syntax

Property Password As String

Parameters

None

Examples

IronPython

#Get mail server password
myPwd = Host.ScriptData.MailServer["myServer"].Password

#Set mail server password
Host.ScriptData.MailServer["myServer"].Password = "secret"


C#

//Get mail server password
string myPwd = ScriptData.MailServers["myServer"].Password;


//Set mail server password
ScriptData.MailServers["myServer"].Password = "secret"

Remarks