How to get the "mailbox of origin" of email

23 Views Asked by At

let's suppose I copy a message from a shared mailbox [email protected] to a user mailbox [email protected]. Is there a way to detect programmatically that initially the email was created/received in the [email protected]? Can the property PR_PREDECESSOR_CHANGE_LIST helps here?

1

There are 1 best solutions below

2
Dmitry Streblechenko On

If you copy a message between two mailboxes, AFAIK it is treated as a brand new message in the destination mailbox and deletion in the source mailbox. You can try to look ta the PR_CREATOR_ENTRYID / PR_CREATOR_SID (make sure you open the message in the online mode), but I don't think they will point to the original mailbox.