WAS v8.5 > Reference > SetsJavaMail system properties
Use this information to set custom JVM system properties that provide additional character encoding options for the JavaMail implementation.
To view the appropriate dmgr console page for setting these properties, click Servers > Application Servers > server_name > Process Definition > Java Virtual Machine > Custom Properties > New.
To specify a custom property:
- On the settings page, enter the property to configure in the Name field and the value 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 your configuration changes.
The following list contains the JVM system properties used 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 For more information, see the latest JavaMail specification.
mail.mime.decodetext.strict
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 our JavaMail component to decode message text that does not comply with RFC 2047.
Information Value Data type Boolean Default true For more information, see the latest JavaMail specification.
mail.mime.encodeeol.strict
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 not of MIME text type. Set 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.
Information Value Data type Boolean Default false For more information, see the latest JavaMail specification.