One of my customer wanted to get the date and time when the message was received by Microsoft Exchange?
- In Exchange Server, we have the OriginationTime property.
- It indicates the date and time, in coordinated universal time (UTC), when the message was received by Microsoft Exchange.
- The OriginationTime property is read-only.
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.