That would be great if you could post your workaround! Thanks
On Mar 23, 6:13 pm, moca <[email protected]> wrote: > I have a fix for this that i will share later this evening, but i also > ran into this issue. It would be good to have this fixed. > > My fix basically entails parsing the native stream when i encounter > this error. There is an apache library which is doing the parsing. I > made a simple alteration to a piece of an apache quoted printable > parser to make it work and extracted this into a utility. Looks > something like > > getContent(msg) { > try { > return msg.getContent(); > } catch (e) { > return FixedQuotedPrintableParser.parse(msg.getNativeStream) > } > > } > > I'll post the real code when i get a chance. > > On Mar 21, 3:48 pm, Lucian Baciu <[email protected]> wrote: > > > > > The mail processing API doesn't seem to work when processing a Hotmail > > email message. I get: > > > java.io.IOException: Truncated quoted printable data > > at > > org.apache.geronimo.mail.util.QuotedPrintableEncoder.decodeNonspaceChar(Quo > > tedPrintableEncoder.java: > > 597) > > at > > org.apache.geronimo.mail.util.QuotedPrintableEncoder.decode(QuotedPrintable > > Encoder.java: > > 584) > > at > > org.apache.geronimo.mail.util.QuotedPrintableDecoderStream.read(QuotedPrint > > ableDecoderStream.java: > > 80) > > at > > org.apache.geronimo.mail.handlers.TextHandler.getContent(TextHandler.java: > > 107) > > at javax.activation.DataSourceDataContentHandler.getContent(Unknown > > Source) > > at javax.activation.DataHandler.getContent(Unknown Source) > > at > > javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:392) > > > I am using the code that should work from > > here:http://groups.google.com/group/google-appengine-java/browse_thread/th... > > > The code fails on this line: Object bp = p.getContent(); > > > Thanks -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
