MimeMessage problem
I have the following problem using MimeMessage:
Shipment a mail, and when it receipt appears to me in body of the message the following thing:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="-=_Part_1_1956022.1156444224755"
MSG_ID: 0
=_Part_1_1956022.1156444224755
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
It seems that part of the header is mixed with the body of the message.
The big problem here is that the header lines you see up are not recognized like header lines because are mixed with the body.
Could anybody help me?
I understand what you said, but the thing is that te email client doesnt recognize the Mime-Version, Content-Type, etc like part of the header. I said this because when I inspect the header(using the "see full header" option in the email client) I see that From, return-Path, and others are recognize as part of the Internet header and the others not.
Email client Iam using tu recive the mail: yahoo and Outlook
In these two email clients you can hide or see the email header. When I set both
email clients to hide the headers the clients hide all except the Mime-Version, Content-Type,
Content-Transfer-Encoding...
So I understand that the email clients dont hide this things because it understand that they are not
part of the header of the message
Show me the entire message. If there's a blank line above these
headers, these headers will look like they're part of the body.
If you created the message with JavaMail (which I assume is why
you're posting here), make sure you didn't include a newline at the
end of the Subject string, for instance.