How can I use the ESMTP (RFC 1869) protocol with JavaMail?

Andrea Pompili

If you look the draft of the JavaMail Specification 1.2 at http://java.sun.com/products/javamail/index.html you can see that it supports ESMTP 8BITMIME extension.

So I think the future release of JavaMail 1.2 will support this protocol.

Here is a section of the draft:
"If the property "mail.smtp.allow8bitmime" is set to "true", and the SMTP server supports the 8BITMIME extension, the SMTP Transport will traverse the message and adjust the Content-Transfer-Encoding of text body parts from "quoted-printable" or "base64" to "8bit" as appropriate."