Laurent CELLA (JIRA) wrote:
[ http://issues.apache.org/jira/browse/GERONIMO-2041?page=comments#action_12414385 ]
Laurent CELLA commented on GERONIMO-2041:
-----------------------------------------
Hi Rick.
I tried with this one : geronimo-spec-javamail-1.3.1-SNAPSHOT.jar , wich i
found there :
http://snapshots.maven.codehaus.org/maven2/geronimo-spec/geronimo-spec-javamail/1.3.1-SNAPSHOT/
Is it the same that the one you spoke about ?
Definitely not! That one is even older than the others you were using.
Try this one:
http://people.apache.org/repository/org.apache.geronimo.specs/jars/geronimo-javamail_1.3.1_spec-1.1-SNAPSHOT.jar
That was built on May 31st, so should be the latest available.
This one does not work either, plus it does not contain any mailcap neither
content hander classes.
Finally I solved the problem that makes me to submit this JIRA by using SUN
javamail 1.4 implementation.
However, I Would like to know the "end of the story" about this issue.
Regards.
Geronimo 1.3 Mail API : RFC EncodeText and DecodeText methods does nothing
---------------------------------------------------------------------------
Key: GERONIMO-2041
URL: http://issues.apache.org/jira/browse/GERONIMO-2041
Project: Geronimo
Type: Bug
Security: public(Regular issues)
Components: mail
Versions: 1.x
Environment: JavaMail API : geronimo-spec-javamail-1.3.1-rc5.jar
Reporter: Laurent CELLA
Assignee: Rick McGuire
Fix For: 1.1
RFC2045 decoding / encoding does nothing.
( static methods decodeText( ... ), encodeText( ... ), decodeWord( ...), ... ).
If I use an alternate JAR archive ( like mail-1.3.1.jar ) it is working.
for instance
sample is " hé! àèôu !!!"
==== encodeText(sample, "utf-8", "Q" ) should returns ====>
=?utf-8?Q?h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=
But it does nothing, without any exception thrown with Geronimo Spec Jar.