Table of Contents

Class SmtpOptions

Namespace
Dynamicweb.Mailing
Assembly
Dynamicweb.Core.dll

Configuration options for SMTP (Simple Mail Transfer Protocol) client settings. Contains all necessary parameters to establish connection and authenticate with an SMTP server.

public sealed class SmtpOptions
Inheritance
SmtpOptions
Inherited Members

Properties

AccessTokenOptions

Get or set the access token authentication options

public AccessTokenOptions? AccessTokenOptions { get; set; }

Property Value

AccessTokenOptions

AuthenticationMode

Get or set type of authentication

public SmtpAuthenticationMode AuthenticationMode { get; set; }

Property Value

SmtpAuthenticationMode

Host

Get or set the SMTP server host name or IP address

public string? Host { get; set; }

Property Value

string

Password

Get or set the Authentication password

public string? Password { get; set; }

Property Value

string

Port

Get or set the SMTP server port (25, 587, 465)

public int Port { get; set; }

Property Value

int

Timeout

Get or set the Operation timeout in milliseconds

public int Timeout { get; set; }

Property Value

int

UseSsl

Get or set whether to use SSL/TLS encryption from connection start

public bool UseSsl { get; set; }

Property Value

bool

Username

Get or set the Authentication username

public string? Username { get; set; }

Property Value

string
To top