Host Property

The URL of the host of a server.

Syntax

Property Host As String

Parameters

None

Examples

IronPython

#Get mail server host
myHost = Host.ScriptData.MailServer["myServer"].Host

#Set mail server host
Host.ScriptData.MailServer["myServer"].Host = "pop-mail.outlook.com"


C#

//Get mail server host
string myHost = ScriptData.MailServers["myServer"].Host;

//Set mail server host
ScriptData.MailServers["myServer"].Host = "pop-mail.outlook.com"

Remarks