6.1 List of original properties that can be set for the standard API used in Java EE servers
This section provides an overview of the original properties that can be set through the standard API.
Properties used to connect to the SMTP server in JavaMail
Property |
Overview |
Details |
---|---|---|
Supporting 8BITMIME extension |
If this value is set to true and the server supports the 8BITMIME extension, then the text parts of the messages that use the quoted-printable or base64 encodings are converted to use the 8-bit encoding. |
|
Attempting to authenticate user using AUTH command |
When mail.smtp.auth is set to true, it attempts to authenticate the user using the AUTH command. |
|
Specifying socket connection time-out value in milliseconds |
mail.smtp.connectiontimeout specifies the socket connection time-out value in milliseconds. |
|
Attempting to logon with the EHLO command |
When mail.smtp.ehlo is set to false, it does not attempt to logon with the EHLO command. |
|
Apecifying name of localhost |
mail.smtp.localhost specifies the name of the localhost that is used in the SMTP HELO or EHLO commands. |
|
Sending mail only to valid address |
If set to true and the message has both valid and invalid addresses, then the message is sent and a partial failure is reported with the SendFailedException exception. |
|
Specifying SSL protocols that are enabled for SSL connections |
mail.smtp.ssl.protocols specifies the SSL protocols that are enabled for SSL connections. |
|
Specifying socket read time-out value in milliseconds |
mail.smtp.timeout specifies the socket read time-out value in milliseconds. |
|
Specifying socket write time-out value in milliseconds |
mail.smtp.writetimeout specifies the socket write time-out value in milliseconds. |
Properties used to connect to the IMAP server in JavaMail
Property |
Overview |
Details |
---|---|---|
Specifying socket connection time-out value in milliseconds |
mail.imap.connectiontimeout specifies the socket connection time-out value in milliseconds. |
|
Specifying partial fetch size in bytes |
mail.imap.fetchsize specifies the partial fetch size in bytes. |
|
Avoiding setting SEEN flag on messages |
When mail.imap.peek is set to true, it uses the IMAP PEEK option while fetching body parts, to avoid setting the SEEN flag on messages. |
|
Specifying SSL protocols that are enabled for SSL connections |
mail.imap.ssl.protocols specifies the SSL protocols that are enabled for SSL connections. |
|
Specifying time-out value in milliseconds for cache of STATUS command response |
mail.imap.statuscachetimeout specifies the time-out value in milliseconds for the cache of the STATUS command response. |
|
Specifying socket read time-out value in milliseconds |
mail.imap.timeout specifies the socket read time-out value in milliseconds. |
|
Specifying socket write time-out value in milliseconds |
mail.imap.writetimeout specifies the socket write time-out value in milliseconds. |