Class SMTPClientSettings
Configuration options for the SMTP client.
class SMTPClientSettings
;
Constructors
Name | Description |
---|---|
this
()
|
|
this
(host, port)
|
Fields
Name | Type | Description |
---|---|---|
authType
|
SMTPAuthType | Authentication type to use |
connectionType
|
SMTPConnectionType | Type of encryption protocol to use |
host
|
string | SMTP host to connect to |
localname
|
string | Own network name to report to the SMTP server |
password
|
string | Password to use for authentication |
port
|
ushort | Port on which to connect |
tlsContextSetup
|
@safe void delegate(scope TLSContext) | Callback to invoke to enable additional setup of the TLS context. |
tlsValidationMode
|
TLSPeerValidationMode | Determines how the server certificate gets validated. |
tlsVersion
|
TLSVersion | Version(s) of the TLS/SSL protocol to use |
username
|
string | User name to use for authentication |