Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to extract information from a mail
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sami Amouri  
View profile  
 More options Oct 3 2006, 2:14 pm
Newsgroups: mozilla.dev.extensions
From: "Sami Amouri" <amour...@epita.fr>
Date: Tue, 3 Oct 2006 20:14:03 +0200
Local: Tues, Oct 3 2006 2:14 pm
Subject: [Thunderbird] How to extract information from a mail
Hello,

I'm currently working on a plugin that save mail on a server. I wanted to
know how to extract the subject, sender, date and the body of a mail when
you are reading one.

Thanks.

--
Sami AMOURI - EPITA SIGL Promotion 2007
Mail: amour...@free.fr
Tel:  +33 (0)6 12 11 27 11
URL:  http://www.sigl.epita.net/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian King  
View profile  
 More options Oct 8 2006, 3:38 pm
Newsgroups: mozilla.dev.extensions
From: Brian King <br...@mozdev.org>
Date: Sun, 08 Oct 2006 21:38:11 +0200
Local: Sun, Oct 8 2006 3:38 pm
Subject: Re: [Thunderbird] How to extract information from a mail
On 03/10/2006 20:14 (CET), Sami Amouri wrote:

> Hello,

> I'm currently working on a plugin that save mail on a server. I wanted to
> know how to extract the subject, sender, date and the body of a mail when
> you are reading one.

Subject, sender and date can be retrieved via the nsIMsgHdr interface.

To get the body of a message, use nsIMsgMessageService.streamMessage.
The message service for a particular message can be got by the global
messenger.messageServiceFromURI(aURI).

--
Brian King
www.mozdev.org - free project hosting for the Mozilla community


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »