Click or drag to resize
SMTPServerInfoProviderCreateSMTPServer Method
Creates a new SMTP server.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax
C#
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: SMTPServerInfo
See Also