Hi, can you explain why this code:
// Create the body part
MimeBodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.removeHeader("Content-Transfer-Encoding");
messageBodyPart.removeHeader("Content-Type");
// The body text
messageBodyPart.setText("This is message body");
...
though the headers are removed, it generates this type of source e-mail?
------=_Part_0_2093176254.1476815278040
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
This is message body
------=_Part_0_2093176254.1476815278040--
I would like to remove these headers
Many thanks.
JavaMail version 1.5.6