Problem with unicode in MIME text/html
843830Dec 27 2005 — edited Feb 27 2006Hi;
I have a java program that sends email by sending it to our exchange server using SMTP. The email has both a To and a Bcc in the single email sent.
The bcc addressee receives the email fine.
The to address however has a problem with chars that are > 0x7f in the html. The html uses utf-8. But the displayed characters look as though the utf-8 part was ignored.
Also weird, if I go to view, options in Outlook for the bcc email (which is good) it shows:
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_0_32437168.1135634913407"
Return-Path: order@windward.net
X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
------=_Part_0_32437168.1135634913407
Content-Type: text/plain; charset=Cp1252
Content-Transfer-Encoding: quoted-printable
------=_Part_0_32437168.1135634913407
Content-Type: text/html; charset=Cp1252
Content-Transfer-Encoding: quoted-printable
------=_Part_0_32437168.1135634913407--
But for the to email (which has the problem), it only shows:
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_0_32437168.1135634913407"
Return-Path: order@windward.net
X-OriginalArrivalTime: 26 Dec 2005 22:08:33.0366 (UTC) FILETIME=[E94D1F60:01C60A68]
Does javamail do anything weird when it gets an email with a to and a bcc and split it up wrong? I just download and installed the latest mail.jar and activation.jar.
thanks - dave