SMTPServerInfoProviderCreateSMTPServer Method |
Creates a new SMTP server.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax public static SMTPServerInfo CreateSMTPServer(
string serverName,
string userName,
string password,
bool useSSL,
SMTPServerPriorityEnum priority
)
Parameters
- serverName
- Type: SystemString
Name of the server (IP or DNS) - userName
- Type: SystemString
Username - password
- Type: SystemString
Password - useSSL
- Type: SystemBoolean
If true, SSL should be used - priority
- Type: CMS.EmailEngineSMTPServerPriorityEnum
Priority
Return Value
Type:
SMTPServerInfoSee Also