JavaMail system properties

Use this information to set custom Java virtual machine (JVM) system properties that provide additional character encoding options for your JavaMail implementation.

To view the appropriate administrative console page for setting these properties, click Servers > Application Servers > servername > Process Definition > Java Virtual Machine > Custom Properties > New.

To specify a custom property:

  1. On the settings page, enter the property you want to configure in the Name field and the value you want to set it to in the Value field.

  2. In the Description field, enter identifying information about the name-value pair.

  3. Click Apply or OK.

  4. Click Save on the console taskbar to save your configuration changes.

The following list contains the JVM system properties that use to customize your JavaMail application:

mail.mime.charset

Changes the default character set for the text of JavaMail messages. Generally the character set for sending messages is the same character set that is used by the system file schema. Use this property to specify a different character set for JavaMail messages.

Data type String

For more information, see the latest JavaMail specification.

mail.mime.decodetext.strict

Specifies whether or not your JavaMail application attempts to decode mail message text that does not adhere to the encoding standards set by the Internet Architecture Board in the specification document RFC 2047. (In particular, Japanese mailers might not adhere to the specification, resulting in the disruption of words by encoded text.) Set this property to false if you want your JavaMail component to decode message text that does not comply with RFC 2047.

Data type Boolean
Default true

For more information, see the latest JavaMail specification.

mail.mime.encodeeol.strict

Specifies whether or not your JavaMail application interprets the character pairs CR and LF as line terminators when they are displayed in the part of a mail message that is not of MIME text type. Set this property to true if you want the JavaMail component to interpret the character pairs as line terminators, and to encode the entire portion of the message in which the characters appear.

Data type Boolean
Default false

For more information, see the latest JavaMail specification.