How to send email with specific Content-Transfer-Encoding?
Hello,
I tried to send email with header Content-Transfer-Encoding: 8bit. Here is the code:
....
Message msg = new MimeMessage(session);
msg.setHeader("X-Mailer", "WebZEmailer");
msg.setHeader("Content-Transfer-Encoding","8bit");
.....
msg.setContent(message, "text/plain;charset=iso-8859-1");
.....
After sending to my Gmail account, I checked the header and it is always 7bit. I confirmed with my Sys Adm that the SMTP server I use supports 8BITMIME SMTP extension. Any idea? Thanks in advance.
Ally