Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JavaMail : how to set Content-Transfer-Encoding to quoted-printable

1,571 views
Skip to first unread message

Bernie

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to
Hi all,
JavaMail sends a simple HTML attachment as:

Content-Transfer-Encoding: 7bit

which causes corruption in some cases:

"." gets replaced with ".." which is catastrophic for JavaScript and
URLs.

Could someone please mail or post how I can change the encoding of a
HTML attachment to quoted-printable ?

Many thanks,
Bernie,
b-h-t-@-a-c-t-rix.gen.nz
Please remove the "-"s from my e-mail address


Bernie

unread,
Jul 2, 1999, 3:00:00 AM7/2/99
to
Solved the problem:

setHeader("Content-Transfer-Encoding", "quoted-printable");
It's that simple.

0 new messages