Java Mail system properties
Use this information to set custom Java ™ virtual machine (JVM) system properties that provide additional character encoding options for the Java Mail implementation.
To view the appropriate admin console page for setting these properties ...
Servers > Application Servers > myserver > Process Definition > Java Virtual Machine > Custom Properties > New.
To specify a custom property:
- 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.
- In the Description field, enter identifying information about the name-value pair.
- Click Apply or OK.
- 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 the Java Mail application:
- mail.mime.charset
Changes the default character set for the text of Java Mail messages. Generally the character set for sending messages is the same character set used by the system file schema. Use this property to specify a different character set for Java Mail messages.
Data type String
See the latest Java Mail specification.
- mail.mime.decodetext.strict
Whether or not the Java Mail application attempts to decode mail message text that does not adhere to the encoding standards set by the Internet Architecture Board in the spec 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 we want the Java Mail component to decode message text that does not comply with RFC 2047.
Data type Boolean Default true
See the latest Java Mail specification.
- mail.mime.encodeeol.strict
Whether or not the Java Mail application interprets the character pairs CR and LF as line terminators when they are displayed in the part of a mail message not of MIME text type. Set this property to true if we want the Java Mail 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
See the latest Java Mail specification.