This project is read-only.

How to obtain a Message-ID header?

Jul 29, 2011 at 8:21 AM
Edited Aug 5, 2011 at 11:11 AM

Hello all.

I couldn't find a way to get Message-ID from message class instance? is there such a way??

Jul 29, 2011 at 9:53 PM

I think you have to look in the property bag for that. Which message ID are you looking for, the MAPI EID, or the Internet message ID from the header?

Aug 5, 2011 at 11:09 AM

I'm looking for RFC822 Message-ID header

Aug 5, 2011 at 11:26 AM

as I saw in sources I have to know an ID or smth like that for the property (Message-ID)... unfortunately I see no enum/consts in sources w/ available properties :(

any ideas are welcome...

Aug 5, 2011 at 4:52 PM

MAPI is not a RFC822 implementation, and it doesn't generate Message-IDs for all it's contained messages. It'll generate them on the edge (when transporting over SMTP from MAPI), and will store incoming message IDs from MIME messages in an x-header named prop, but in general, that specific property doesn't exist.

The equivalent is the "entry id" property.