Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


6.2.1 mail.smtp.allow8bitmime

When mail.smtp.allow8bitmime is set to true, the server supports the 8BITMIME extension.

Description

If this value is set to true and the server supports the 8BITMIME extension, then the text parts of the messages that use the quoted-printable or base64 encodings are converted to use the 8-bit encoding, provided that they follow the RFC2045 rules for the 8-bit text. The default value is false.

Specifiable values

Type: Boolean

{true | false}

Default value

If the definition item is omitted

false

Example

Properties properties = new Properties();
properties.setProperty("mail.smtp.allow8bitmime", "true");
Session session = Session.getDefaultInstance(properties);
Message message = new MimeMessage(session);
message.setSubject(sentDate);
Transport.send(message);