SMTPClientSettings

Configuration options for the SMTP client.

Constructors

this
this()
Undocumented in source.
this
this(string host, ushort port)
Undocumented in source.

Members

Variables

authType
SMTPAuthType authType;

Authentication type to use

connectionType
SMTPConnectionType connectionType;

Type of encryption protocol to use

host
string host;

SMTP host to connect to

localname
string localname;

Own network name to report to the SMTP server

password
string password;

Password to use for authentication

port
ushort port;

Port on which to connect

tlsContextSetup
void delegate(scope TLSContext) tlsContextSetup;

Callback to invoke to enable additional setup of the TLS context.

tlsValidationMode
TLSPeerValidationMode tlsValidationMode;

Determines how the server certificate gets validated.

tlsVersion
TLSVersion tlsVersion;

Version(s) of the TLS/SSL protocol to use

username
string username;

User name to use for authentication

Meta