I'm trying to find the guaranteed unique identifier to distinguish emails from each other. Currently, I am writing an application which connects to Microsoft Exchange, however I want to be able to support other email services.
I think that the unique identifier is the EmailMessage.InternetMessageId
, and that this property uses the PR_ENTRYID, except that I can't find any documentation to support this.
Do all emails have a unique identifier and is that (in Exchange) the InternetMessageId?
There is no guaranteed unique id for emails, the Message-ID is about as close as you come. The best you can actually hope for is unique for the server...and even that depends upon the type of mail server and what it does.
A valid email address consists of an email prefix and an email domain, both in acceptable formats. The prefix appears to the left of the @ symbol. The domain appears to the right of the @ symbol. For example, in the address [email protected], "example" is the email prefix, and "mail.com" is the email domain.
Yes, this exists, but no, you can't use it from Outlook. Do Outlook Emails or Email Threads have a unique identifier hash that can be used within the search syntax? Each message has a Message-ID header, and this is what most systems (such as mailing-list archives) will use to reference a specific message.
There is no guaranteed unique id for emails, the Message-ID is about as close as you come. The best you can actually hope for is unique for the server...and even that depends upon the type of mail server and what it does.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With