c# - How can I know that two emails are the same from two different mailboxes? -
if send same email 2 different mailboxes, i'd able tell if these same email.
the problem itemid
different 2 emails. , can't figure way have unique identifier 2 identical emails.
from office
object in js, itemid
(that vary) via : office.context.mailbox.item.itemid
: documentation
so i've been trying find else ews managed api via:
emailmessage.bind(service, mail.itemid, new propertyset(itemschema.id));
but can't find useful property itemschema
. (itemschema documentation)
how can know 2 emails same when in 2 different mailboxes ?
is there way compare 2 ids ?
there no 100% answer this. 2 separate copies, there no actual link between them. might able retrieve rfc 822 message id (try internetmessageheaders
property) , compare that, you'd assuming nothing modified value before retrieved it.
Comments
Post a Comment