Disconnect Method

Disconnects from the email server.

Syntax

Sub Disconnect()


Parameters


None



Return Value


None

Examples

IronPython

#Disconnect from mail server

Host.ScriptData.MailServer[serverName].Disconnect()



C#

//Disconnect from mail server

ScriptData.MailServers[serverName].Disconnect();


Remarks