Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Email attachment, body parsing via Mozilla engine or Thunderbird on Java

41 views
Skip to first unread message

Sharma, Ashish

unread,
Feb 12, 2011, 2:31:13 PM2/12/11
to dev-te...@lists.mozilla.org
Hi,

I am using a small java smtp library (http://code.google.com/p/subethasmtp/), receiving mails with an email receiving Postfix server. By this setup I need to parse the incoming emails in separate file components viz body, attachments etc.

I am trying to use Mozilla engine or Thunderbird for this in my Java code. Is it possible?

If yes then please share your experience.

If no, can somebody please guide me what are the requirements and interfaces that I can use for my intentions.

I need an approach that takes in the smtp data stream and returns me with an array of attachment references and body references or streams in fully parsed out form in java. Please help.

Just the way the messages were created initially (by referring individual files for attachments and body stream) on an email client.

Thanks in advance

Ashish Sharma

0 new messages