Table of Contents

Class SmtpOptions

Namespace
CMS.EmailEngine
Assembly
CMS.EmailEngine.dll

Configurations of the SMTP email client.

public class SmtpOptions
Inheritance
object
SmtpOptions
Extension Methods

Properties

Encoding

Gets or sets the encoding of emails' subject and body.

public Encoding Encoding { get; set; }

Property Value

Encoding

Remarks

Defaults to System.Text.Encoding.UTF8.

MailoutSessionLimit

Gets or sets number of emails which can be sent within one connection to the mail server.

public int MailoutSessionLimit { get; set; }

Property Value

int

Remarks

Defaults to 50.

Server

Gets or sets the configuration of the server used to send emails.

public SmtpServer Server { get; set; }

Property Value

SmtpServer

TransferEncoding

Gets or sets the email transfer encoding.

public TransferEncoding TransferEncoding { get; set; }

Property Value

TransferEncoding

Remarks

Defaults to System.Net.Mime.TransferEncoding.Base64.