Decoding-problems on subject
843830Jul 10 2006 — edited Jul 3 2008Hello all,
as far as I observed javamail does an automatic decoding of an eMail-subject for me. So a
Subject: =?iso-8859-1?B?QW1hem9uLmRl?=
automaticly becomes
Subject: Amazon.de
Now I get a message with the subject:
Subject: openBC:=?UTF-8?Q?=20Ingo=20Gr=C3=BCneberg=20hat=20?= =?UTF-8?Q?Sie=20als=20Kontakt=20best?==?UTF-8?Q?=C3=A4tigt?=
which will not be decoded by javamail. I tried to work around the problem and forced my application to decode the subject one more time - no result:
System.out.println(MimeUtility.decodeText("openBC:=?UTF-8?Q?=20Ingo=20Gr=C3=BCneberg=20hat=20?= Sie als Kontakt best=?UTF-8?Q?=C3=A4tigt?="));
-> openBC:=?UTF-8?Q?=20Ingo=20Gr=C3=BCneberg=20hat=20?= Sie als Kontakt best=?UTF-8?Q?=C3=A4tigt?=
Then I thought the string would be the problem, but Thunderbird decodes the subject right!??
Any sugestions? Thanks a lot in advance!
Stephan
Message was edited by:
lotk