MailConfig
| Name | Type | Description |
|---|---|---|
|
Set the hostname of the smtp server. |
|
|
Set the port of the smtp server. |
|
|
Set the username for the login. |
|
|
Set the password for the login. |
|
|
Set the sslOnConnect mode for the connection. |
|
|
set whether to trust all certificates on ssl connect the option is also applied to STARTTLS operation |
|
set the NetClientOptions to be used when opening SMTP connections if not set, an options object will be created based on other settings (ssl and trustAll) |
||
|
set string of allowed auth methods. if set only these methods will be used if the server supports them. If null or empty all supported methods may be used |
|
|
set the hostname to be used for HELO/EHLO and the Message-ID |
|
|
set the max allowed number of open connections to the mail server if not set the default is 10 |
|
|
set the timeout for idle smtp connections (in seconds) if not set, the default is 300 seconds |
|
|
set if connection pool is enabled default is true if the connection pooling is disabled, the max number of sockets is enforced nevertheless |