Table of Contents

Class SmtpServer

Namespace
CMS.EmailEngine
Assembly
CMS.EmailEngine.dll

Class contains properties necessary for connecting to an SMTP server.

public class SmtpServer
Inheritance
object
SmtpServer
Extension Methods

Properties

Host

Gets or sets the hostname of the server.

public string Host { get; set; }

Property Value

string

Password

Gets or sets the password used to authenticate to the server.

public string Password { get; set; }

Property Value

string

Port

Gets or sets the port of the server.

public int Port { get; set; }

Property Value

int

Remarks

If the port has a value of 465, then SSL-wrapped connection will be used. All other values will use SSL/TLS encrypted connection if the server supports it, otherwise an unencrypted channel will be used.

UserName

Gets or sets the username used to authenticate to the server.

public string UserName { get; set; }

Property Value

string