SmtpClientSettings

Wrapper around smtp client settings.

Constructors

this
this()

Creates new smtp client settings.

this
this(string host, ushort port)

Creates new smtp client settings.

this
this(string host, ushort port, string username, string password)

Creates new smtp client settings.

Members

Properties

authType
SmtpAuthType authType [@property getter]

Gets the authentication type.

authType
SmtpAuthType authType [@property setter]

Sets the authentication type.

connectionType
SmtpConnectionType connectionType [@property getter]

Gets the connection type.

connectionType
SmtpConnectionType connectionType [@property setter]

Sets the connection type.

host
string host [@property getter]

Gets the host.

host
string host [@property setter]

Sets the host.

localName
string localName [@property getter]

Gets the local name.

localName
string localName [@property setter]

Sets the local name.

password
string password [@property getter]

Gets the password for the authentication.

password
string password [@property setter]

Sets the password for the authentication.

port
ushort port [@property getter]

Gets the port.

port
ushort port [@property setter]

Sets the port.

tlsContextSetup
void delegate(scope TLSContext) @safe tlsContextSetup [@property getter]

Get the tls context setup.

tlsContextSetup
void delegate(scope TLSContext) @safe tlsContextSetup [@property setter]

Sets the tls context setup.

tlsValidationMode
TLSPeerValidationMode tlsValidationMode [@property getter]

Gets the tls validation mode.

tlsValidationMode
TLSPeerValidationMode tlsValidationMode [@property setter]

Sets the tls validation mode.

tlsVersion
TLSVersion tlsVersion [@property getter]

Gets the tls version.

tlsVersion
TLSVersion tlsVersion [@property setter]

Sets the tls version.

username
string username [@property getter]

Gets the username for the authentication.

username
string username [@property setter]

Sets the username for the authentication.

Meta