Network Deployment (Distributed operating systems), v8.0 > Reference > Sets
JavaMail system properties
Use this information to set custom JVM system properties that provide additional character encoding options for your JavaMail implementation.
To view the appropriate admin 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 you want 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 the configuration changes.
The following list contains the JVM system properties that you 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.
Data type String 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 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 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 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 See the latest JavaMail specification.
Configure mail providers and sessions