+

Search Tips   |   Advanced Search

JavaMail system properties

Use this information to set custom JVM system properties that provide additional character encoding options for our JavaMail implementation.

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

To specify a custom property:

  1. On the settings page, enter the property we want to configure in the Name field and the value 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 the configuration changes.

The following list contains the JVM system properties that we can 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 used by the system file schema. We can use this property to specify a different character set for JavaMail messages.

Information Value
Data type String

See 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 to false if we want your JavaMail component to decode message text that does not comply with RFC 2047.

Information Value
Data type Boolean
Default true

See 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 to true if we 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.

Information Value
Data type Boolean
Default false

See latest JavaMail specification.