I'm writing a simple email handler on GAE. It receives multipart 
MimeMessages, parses them and stores the text/html part if present, 
otherwise it stores the text/plain part. I'm sending emails from gmail so 
they typically have both parts.

What's strange is the text/plain part arrives as expected, but the text/html 
part always contains missing characters. Random characters are simply 
missing from the text.

For example the text/plain part looks like:

This is an example message
Its really quite simple

And the text/html part looks like:

This is an exampe message<di>Its really quite simple

More that the "l" is missing from the word "example" and the "v" is missing 
from the "<div>" tag.

I'm reading these strings direct from the MimeMessage.getContent() method 
with no further processing. It seems like the incoming MimeMessage is 
somehow getting corrupted. This is happening on a live instance running on 
the AppEngine server, not on my development server.

Is anyone else seeing this behavior? Any fix available?

Thanks,

Dan

-- 
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.

Reply via email to