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 |
|
|
set the hostname to be used for HELO/EHLO |
|
|
set the max allowed number of open connections to the mail server if not set the default is 10 if set to 0, the number of connections is not limited set to -1 to disable connection pooling completely |
|
|
set the timeout for idle smtp connections (in seconds) if not set, the default is 300 seconds set to 0 to disable the client side timeout (shutdown of the connections depends on the server's timeout in this case) set to -1 to disable connection pooling completely |