MailAttachment
Name |
Type |
Description |
|
set the Content-Type |
|
|
set the data |
|
|
set the description field to be used in the attachment |
|
|
set the disposition field to be used in the attachment |
|
|
set the name |
MailConfig
Name |
Type |
Description |
|
set if sending allows rcpt errors |
|
|
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 of the smtp server. |
|
|
set if connection pool is enabled default is true if the connection pooling is disabled, the max number of sockets is enforced nevertheless |
|
|
get the key store filename to be used when opening SMTP connections if not set, an options object will be created based on other settings (ssl and trustAll) |
|
|
get the key store password to be used when opening SMTP connections |
|
Set the login mode for the connection. Either DISABLED, OPTIONAL or REQUIRED |
||
|
set the max allowed number of open connections to the mail server if not set the default is 10 |
|
|
set the hostname to be used for HELO/EHLO and the Message-ID |
|
|
Set the password for the login. |
|
|
Set the port of the smtp server. |
|
|
Set the sslOnConnect mode for the connection. |
|
Set the tls security mode for the connection. Either NONE, OPTIONAL or REQUIRED |
||
|
set whether to trust all certificates on ssl connect the option is also applied to STARTTLS operation |
|
|
Set the username for the login. |
MailMessage
Name |
Type |
Description |
|
set the list of attachments of this mail |
|
|
set list of bcc addresses |
|
|
set bounce address of this mail |
|
|
set list of cc addresses |
|
|
set whether our own headers should be the only headers added to the message |
|
|
set from address of this mail |
|
|
set the html text of this mail |
|
|
set the subject of this mail |
|
|
set the plain text of this mail |
|
|
set list of to addresses |