We are using Jakarta API version 1.6.7 in our legacy application.
In some places we are using MimeBodyPart to form message and in some places we are using MimeMultiPart based on requirement.
We have observed below difference
MimeBodyPart -> writeTo() method -> does not consider the \r\n in the http headers -> Headers are always unfolded
MimeMultiPart -> writeTo() method -> consider the \r\n in the http headers -> Headers are always folded/unfolded based on input
Could you please let us know,
1.Why MimeBodyPart is always unfolded ?
2.Also how to make it flexible like MimeMultiPart in terms header folding.
Kindly let us know if there are any ticketing system where we can raise the ticket for seeking above information. We will create ticket over there.
Mit freundlichen Grüßen / Best regards
Robert Bosch GmbH | Postfach 10 60 50 | 70049 Stuttgart |
GERMANY | www.bosch.com
Registered Office: Stuttgart, Registration Court: Amtsgericht Stuttgart, HRB 14000;
Chairman of the Supervisory Board: Prof. Dr. Stefan Asenkerschbaumer; Managing Directors: Dr. Stefan Hartung,
Dr. Christian Fischer, Filiz Albrecht, Dr. Markus Forschner, Dr. Markus Heyn, Rolf Najork