Hi Guys,
I have a server running James 2.4 and I'm having problems reading the content
in UTF-7 messages - I understand utf-7 support is sparce in java mail however I
figured the community may have come up with a solution or workaround for either
2.4 or 3.0+.
20/05/13 00:01:26 spoolmanager: An error occurred processing
Mail1368964886589-1720952 through transport-out20/05/13 00:01:26 spoolmanager:
Result was errorjavax.mail.MessagingException: ; nested exception is:Caused
by: java.io.UnsupportedEncodingException: unicode-1-1-utf-7 at
sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:70) at
java.io.InputStreamReader.<init>(InputStreamReader.java:100) at
com.sun.mail.handlers.text_plain.getContent(text_plain.java:95) at
javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:790)
at javax.activation.DataHandler.getContent(DataHandler.java:537) at
javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:652)
java.io.UnsupportedEncodingException: unicode-1-1-utf-7 at
sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:70) at
java.io.InputStreamReader.<init>(InputStreamReader.java:100) at
com.sun.mail.handlers.text_plain.getContent(text_plain.java:95) at
javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:790)
at javax.activation.DataHandler.getContent(DataHandler.java:537) at
javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:652)
Thanks for your help.
Regards,
Johnny Minty