Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Global Inbox: Email address associated with message

    1 answers - 936 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I have an extension that needs to associate an email address with a
    particular message. For messages not in the Global Inbox, I can get this
    easily by getting the server using the folder URI of the message,
    getting the identity for the server, and then querying the prefs for the
    particular identity.
    mail.identity.idX.useremail
    This doesn't work so neatly for Local Folders, because when I query the
    server it always returns Local Folders as opposed the actual server the
    message belongs to.
    So my question is Is there a reliable way to trace an email address
    associated with the Global Inbox, in particular from a message. Granted,
    there can be multiple accounts set-up there meaning multiple email
    addresses, so even returning one of those would be acceptable.
    - Brian
    dev-apps-thunderbird mailing list
    dev-apps-thunderbird (AT) lists (DOT) mozilla.org
  • No.1 | | 651 bytes | |

    You can get the account-key header from the nsIMsgHdr, and use that to
    figure out which server delivered the message, and the associated identity.

    For example:
    #1784

    and

    #915
    - David

    Brian King wrote:

    So my question is Is there a reliable way to trace an email
    address associated with the Global Inbox, in particular from a
    message. Granted, there can be multiple accounts set-up there meaning
    multiple email addresses, so even returning one of those would be
    acceptable.

    - Brian

    dev-apps-thunderbird mailing list
    dev-apps-thunderbird (AT) lists (DOT) mozilla.org

Re: Global Inbox: Email address associated with message


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "Mozilla"

EMSDN.COM