You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Jerry M <te...@malcolms.com> on 2007/02/11 21:58:50 UTC

Parsing Inbox Message_Body BLOB into MimeMessage object?

I need to read a mail message out of the database INBOX table and parse 
the message_body blob into a MimeMessage object or something similar 
that I can easily extract the subject, etc.  I know the BLOB is just a 
serialized text stream with all the headers, subject, body, etc.  I'm 
just assuming there is some way with a couple of lines of code where I 
can pass the String in and have a MimeMessage instance constructed.  I'm 
sure James is doing this internally all the time.

Can somebody give me a pointer on how to do this?

Thanks.

Jerry


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org