MailItem.ReceivedByEntryID Property
Outlook Developer Reference |
Returns a String representing the EntryID for the true recipient as set by the transport provider delivering the mail message. Read-only.
Syntax
expression.ReceivedByEntryID
expression A variable that represents a MailItem object.
Remarks
This property corresponds to the MAPI property PR_RECEIVED_BY_ENTRYID.
If you are getting this property in a Microsoft Visual Basic or Microsoft Visual Basic for Applications (VBA) solution, owing to some type issues, instead of directly referencing ReceivedByEntryID, you should get the property through the PropertyAccessor object returned by the MailItem.PropertyAccessor property, specifying the PR_RECEIVED_BY_ENTRYID property and its MAPI proptag namespace. The following code sample in VBA shows the workaround.
Visual Basic for Applications |
---|
|
See Also