I have code to create a Multipart like this:

MimeMultipart mm = new MimeMultipart("alternative");
BodyPart bp = new MimeBodyPart() ;
bp.setText(text);
mm.addBodyPart(bp);
bp = new MimeBodyPart() ; //reset variable for html part
bp.setContent(html,"text/html");
mm.addBodyPart(bp);

Under java 1.3.1 this generated mail that had this for the html multipart:

------=_Part_2_6220608.1041458193261
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

When I upgraded to 1.4.1 it now looks like this:
------=_Part_21_20566889.1041555012620
Content-Type: text/html; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: quoted-printable

This charset=ANSI_X3.4-1968 is causing problems when netscape reads the mail. It appears that file.encoding changed between versions. Does anyone know why?



--
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio. http://xis.xtenit.com


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to