MailServer Property
Gets or sets the specified mail server.
Syntax
Property MailServer(serverName) As VSMailServer |
Parameters
serverName
Type: String
The name of the mail server
Examples
IronPython
#Get a mail server myServer = Host.ScriptData.MailServer["Hotmail"] #Set a mail server server = VSMailServer(serverName, "pop-mail.outlook.com", 995, "info@requrance.com", "secret", VSSecureMailOption.SslOnConnect, VSMailProtocol.Pop3) Host.ScriptData.MailServer[serverName] = server |
C#
//Get a mail server //Set a mail server |