Java Reference
In-Depth Information
Table 7-1. MIME System Properties
Property
Default Value
Purpose
mail.mime.decodetext.strict
true
Do not decode messages that do not conform to RFC
2047
mail.mime.encodeeol.strict
false
Interpret a carriage return linefeed pair as a line break
when they occur in a mail message part that does
not have MIME media type of text.
mail.mime.address.strict
true
Throw an AddressException when parsing an
email address that is not spec conformant; e.g.
usernames without an “@domain” part.
mail.mime.charset
file.encoding
The character set to use when reading messages that
don't specify their own character set.
mail.mime.decodefilename
false
Use MimeUtility.decodeText() to decode
non-ASCII characters in the filename.
mail.mime.encodefilename
false
Use MimeUtility.encodeText() to encode
non-ASCII characters in the filename.
mail.mime.decodeparameters
false
Decode non-ASCII parameters e.g., in a Content-
Type header, as specified by RFC 2231.
mail.mime.encodeparameters
false
Encode non-ASCII parameters, e.g., in a Content-
Type header, as specified by RFC 2231.
mail.mime.multipart.ignoremissingendboundary
true
Throw a MessagingException when a
message is missing the final end boundary line
mail.mime.multipart.ignoremissingboundaryparameter
true
Throw a MessagingException when a
Content-Type header does not have a boundary
parameter.
mail.mime.base64.ignoreerrors
false
The BASE64 decoder returns EOF and skips remaining
data on encountering an encoding error.
mail.mime.foldtext
true
Break header fields into 76 character lines.
mail.mime.setcontenttypefilename
true
setFileName() also sets the name parameter in
the Content-Type header.
mail.mime.setdefaulttextcharset
true
Add missing charset parameters.
mail.mime.parameters.strict
true
Header fields such as Content-Type are not allowed
to contain whitespace and other special characters
unless quoted.
mail.mime.windowsfilenames
false
Workaround bugs in the Content-Disposition header
of messages created by Internet Explorer 6.
mail.mime.ignoreunknownencoding
false
Treat unknown values in the Content-Transfer-
Encoding header as “8bit.”
mail.mime.uudecode.ignoreerrors
false
Ignore errors in the encoded format of a uuencoded
document.
mail.mime.uudecode.ignoremissingbeginend
false
Ignore a missing “begin” or “end” line in a uuencoded
document.
Search WWH ::




Custom Search