Match Email Messages Between Mailboxes

If I have access to two mailboxes (User A and User B).  How would I determine if two email messages (one in User A's inbox, and one in User B's mailbox) represent the same email message?  Would they have the same InternetMessageId?  
I am building an application that will merge emails from several different users inboxes into a single repository.  I want to avoid creating duplicate entries for the same email messages where one user sent an email to another user in the group.
When merging two different users email folders how do I identify two EmailMessages that represent the same email sent between the two users?

If its two separate mailboxes I would look at the Internet Message Id see
http://msdn.microsoft.com/en-us/library/office/cc839521%28v=office.15%29.aspx PidTagInternetMessageId. That should work in most case it not guaranteed though so I would expect you will always have some duplicates but its probably the closest you'll
get.
You could also use your own transport agent eg if you catch your messages in an OnSubmission before any categorization takes place and add your own unique X-header in the Message you could then use that value on any messages that are
delivered to ensure uniqueness.
Cheers
Glen

Similar Messages

  • I can't sync my all email message between macbook pro and iPad 4

    Hi,
    I can't sync my all email message between macbook pro and iPad 4. This sync only complete account setting but not email message.
    Can anybody help me to fix the problem?

    You can't "fix" this problem because you can't sync email messages from the Mac mail app, you can only sync your email account settings. Messages will not sync using iTunes.

  • Email messages in mailbox marked as read when they arrive on Blackberry

    We are using Outlook Exchange 2007; from yesterday when I added a new email address it is marking messages in the mailbox as read when they arrive on Blackberry 8520 Curve.  Can't for the life of me find the setting to change it and am losing the will to live!  Any help appreciated.

    Hi interferingmother,
    Welcome to the BlackBerry Support Community.
    Is your email account integrated as POP on your BlackBerry® Curve™ 8520 smartphone? If it is, this KB article should provide some ways to resolve this issue. "Email messages on a Microsoft Exchange Server are marked as read when accessed via POP" http://bbry.lv/KvCTaM
    Hope this helps.
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Syncing Email messages between two mac

    Can I get my email to sync between my imac and macbook?
    For instance, if i delete an email on one mac, i want it deleted on the other as well.
    or if i move an email to a different mailbox on one mac, i want it moved on the other mac as well.
    Thanks
    Chris

    Nerowolfe, Thanks for helping...I do not have it set to remove the messages from the server.
    I actually want the all the emails to come to all the computers, i just also want each computer to recognize if i have already taken some kind of action with an email. like if I have deleted it, i would like for the other computers to go ahead and move it to the trash folder. Or if I have moved it to a different mailbox, i would like the other computers to also go ahead and move it to the different mailbox.
    As another example, I have a mailbox (not smartbox, just regular) called 'Saved Mail' When I get an important email that I want to save I drag it into the Saved Mail box. I would like my other computer to also move it to 'Saved Mail'
    Maybe I am asking too much.....???

  • Access denied to email message within mailbox

    We recently ingested an old PST file into a users mailbox as part of an archiving project.   We have found a few messages which are very old which are unable to be opened due to insufficient permissions.  We are looking to either change the
    permissions or delete the message.  We attempted to delete the message  using mfcmapi but got an access denied when attempting the action.
    Anyone have any experience with this and how to get out of it without exporting entire mailbox to pst, deleting and recreating and then re-importing.
    Thanks
    Paul
    Paul Glickenhaus

    Hello,
    Please try to use MFCMAPI tool and check if you can delete the emails.
    http://mfcmapi.codeplex.com/
    To use the tool, you can refer:
    https://mfcmapi.codeplex.com/wikipage?title=MFCMAPI%20Articles
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • Can't move messages between mailboxes

    When I move messages, they turn gray in the original folder, and then are not moved. Or maybe some of them are, but most are not. Or they are moved, but then moved back. I thought it might be filters, but am pretty sure all relevant ones turned off. The messages and folders are "on my mac" so imap servers are presumably not involved.

    Oh, I just did a bit more searching in the forum here, and found this answer. I tried it and it worked for me:
    http://discussions.apple.com/thread.jspa?messageID=8994288&#8994288
    "Please use Rebuild on the Inbox -- click on Mailbox in the menubar, and choose Rebuild. Be aware that during Rebuild all messages will seem to disappear, but they will come back."
    (Thank you to Ernie.)
    I have multiple mailboxes -- I had to click on each mailbox individually for Rebuild to work, and I also did the rebuild on one of my archive folders.

  • How to copy email messages between 2 accounts on IMAP server side

    Hello,
    I have a need that I'm not yet able to solve on my Mac Mini Server (OSX10.9.4 build 13E28 - Server 3.1.2 build 13S4517).
    I have configured and started my Server with the IMAP Server that manage my emails domain; at the moment I have 8 accounts able to retrieve emails from the external ISP, send emails outside through the same ISP and manage locally the emails exchange. All it's working as good as well.
    Now, caused by operative needs of the company, all the emails of a specific account should be copied/forwarded/duplicated (one of this solution would be indifferently accepted) to a different account. The second account isn't configured on the ISP site but only my Server and should be used as a something similar to a live-backup of the first account. This is necessary because the first account "can be / has to be" managed by a lot of people (we know that this behavior could be dangerous for the integrity of the mail repository but we can't do in a different way...) and so we need to create a second account that will be managed by the administrator only to handle in real-time possible recoveries...
    Have someone ideas/suggestion about a standard way (i.e. I mean something already foreseen inside Maverick/Server app) that we can follow to configure the environment that I've described?
    Thanks a lot for your help and support

    Irina, I don't think the mail api is not really designed for that. To do things at the database level, you might want to look at streams to pump all changes over to an archive database.
    However one thing to bear in mind is that if you are capturing changes in the user's mail folder then you do not have an authoritative record of all mail (just an archive of what actually made it into their folders (e.g. if they choose not to keep a sent copy, then you will not have it in your archive).
    For this reason, true compliance archiving usually aims to intercept the smtp delivery process (either as an intermediate gateway or plugin to a gateway .. google for such products).
    you would normally do this at your corporate smtp gateway. unfortunately, I don't believe you can internally intercept/hook the OCS smtp process with 100% reliability (e.g. via a trigger), so I'd suggest you look at external smtp solutions if you really need compliance archiving.
    hth

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

  • Email message could not be moved to mailbox trash

    email message could not be moved to mailbox trash

    Back up all data. Rebuild the mailbox. Try again to delete the message.

  • TS3274 I have thousands of email messages in my ipad mailbox that I can't delete en masse. I can delete a few at a time, but this would take forever???

    I have thousands of email messages in my ipad mailbox that I can't delete en masse. I can delete a few at a time, but this would take forever???

    Contact htem? No, I wouldn't think so, I'm not familier with fuse.net. Most ISPs adn email providers have web pages that can be used to acces your account settings and email. That may provide a means of selecting multiple emails and deleting them (but probably not 22,000 at a time).

  • If email message is in sent mail as well as in draft mailbox is it a duplicate or do I need to send it agin to make sure it went through

    if email message is in sent mailbox and also in draft mailbox is it a duplicate that happned by mistake or do i nee to send it agin to make sure it went through?

    I've seen emails get stuck in the Drafts mailbox even after they have been sent. Check in the Sent mailbox to see if it has really gone out. If not, send it again. If so, delete it from the Drafts mailbox.
    Best of luck.

  • How does one perform mailbox to mailbox moving of email messages w/ Messaging 3.X?

    How does one perform mailbox to mailbox moving of email messages with Messaging 3.X?
    <P>
    In an ISP environment there are times that a user changes his
    login name (his unique identifier in the ISP's network, also used as
    his email address) from one value to another. It is very convenient
    for the ISP to be able to move messages from the user's old mailbox
    to the user's new mailbox when this situation occurs.
    <P>
    With Messaging Server 2.0, this was easily accomplished by simply
    moving the mail messages on disk. However, with the added complexity
    of Messaging 3.0 where there are back links, reference counts, etc.,
    associated with mail messages, moving files on disk from one mailbox
    to another is no longer valid.
    <P>
    The MoveUser utility, which is new in MS 3.X, moves messages from
    one messaging server to another or from one maildrop path to another.
    Can this utility be used to move messages from one mailbox to another?
    <P>
    The answer is yes, it can. The user should be aware that if
    duplicate email message id's exist in the mailbox before the
    move, the messages related to the duplicate message id's will
    be duplicated in the target mailbox.
    <P>
    See the online documentation contained with the product or the
    Messaging 3.X Administrator's Guide for exact syntax.

    Hi
    If I understand you correctly and if you are using Apple Mail version 2.0 or above navigate to /Users/Home folder. The Home folder is the one with the house icon, within that folder you will see a Library folder, within that folder you’ll see a Mail folder, within that folder you’ll see a folder that begins with POP followed by your name, within that folder will be a folder called INBOX.mbox, within that folder is a Messages folder. All the mail that you see within the application are there. They will be numbered and have a file suffix of .emlx. You can move these wherever you like.
    If you are using Entourage X, or Entourage 2004 you can easily multiple select mail messages, addresses etc from within the application and drag whatever you’ve selected to wherever you like.
    Tony

  • Why am I getting this error message: Unable to write the email to the mailbox. Make sure the file system allows you write privileges, and you have enough disk s

    I am getting this error message, just starting today: Unable to write the email to the mailbox. Make sure the file system allows you write privileges, and you have enough disk space to copy the mailbox. I have tried several solutions (cleaning out my inbox, compacting folders, rebooting, checking through the webmail side), all to no avail, Can anyone help?

    which os do you have?

  • Maximum number of email messages displayed in Mailbox?

    Is 200 the maximum number of email messages you can display in any given Mailbox? I am trying to view an old email that was sent approx 3 months ago, which puts it about 600 or 700 email messages down in my Inbox. Hitting the "Load 50 More Messages" link doesn't appear to do anything if you already have 200 messages displayed in the Mailbox.

    Forgot to mention that I am using a .Mac email account....

  • In Yosemite 10.2.2 Mail, I can no longer get to nested mailboxes by dragging an email message and hovering over the primary mailbox.

    Before OS X 10.2.2 Mail, if I wanted to move an email message from a mailbox to another mailbox nested within a mailbox (a mail subfolder), I simply clicked on the message and dragged in over the primary mailbox, which would then "open" to reveal the mailboxes nested within it.  When I try it now, the primary mailbox does not open.  Are there any fixes for this?

    Hi there,
    You're running an old version of Safari. Before troubleshooting, try updating it to the latest version: 6.0. You can do this by clicking the Apple logo in the top left, then clicking Software update.
    You can also update to the latest version of OS X, 10.8 Mountain Lion, from the Mac App Store for $19.99, which will automatically install Safari 6 as well, but this isn't essential, only reccomended.
    Thanks, let me know if the update helps,
    Nathan

Maybe you are looking for

  • How to update my phone is my 3g plan

    dear sir i don't have wifi network but i am use 3g data so how can update ios 8.2 on my phone

  • Simple Question? What Code or Program Tells Time for Documents?

    I would like to know( for the sake of learning and teaching an old dog new tricks) what program or extension etc. tells the the computer what time it is in general (Menu Bar/System Preferences/this I know) and what date and _time_ is when you use Get

  • How can i use numeric counter on a graph

    Hey guys,i need some help. I have 113 inputs and want to put a numeric counter to choose which input i want to see on graph. Can i do it?! Thank you all!!

  • Are there great leather iPad Air Covers yet?

    Having recently bought an iPad Air, I've been looking for a leather zippered folio/case cover to no avail. Has any one found one? What I've found are old leather cases that the manufacurer has only amended the holding mechanisms to work with the smal

  • Shortcuts - Subst. variables in report column

    Hello, I'm wondering why the next thing thing doesn't work: I have a report with a column displayed as textfield, when I try to put a susbtitution variable (:MYSPEC) in Column Attributes -> Element Attributes it does not recognize it and just writes