Le Café Central de Deva
let.us.share.develop.messaging.more... Deva blogs!!
One of my customer wanted to get the date and time when the message was received by Microsoft Exchange?
For example, this could be the time the message was received from the Internet via SMTP, or the time a user clicked the Send button in an e-mail client application.
The OriginationTime property appears on instances of the \\COMPUTERNAME\ROOT\MicrosoftExchangeV2:Exchange_MessageTrackingEntry class.
Please find the following example (VBScript) shows how to retrieve a list of Exchange_MessageTrackingEntry instances, and how to retrieve the OriginationTime property.