return-path

return-path

Represents the value of the Return-Path: Internet header of a message, which is the e-mail address of the sender of the message.

Quick Info

Exposed on: Message objects
Created by: Outlook
Accessed by: Outlook and solution providers
Property type: PT_UNICODE
Access type: Read-only

Remarks

To retrieve the value of this property, first use IMAPIProp::GetIDsFromNames to obtain the property tag, and then specify this property tag in IMAPIProp::GetProps to get the value. When calling IMAPIProp::GetIDsFromNames, specify the following values for the MAPINAMEID structure pointed at by the input parameter lppPropNames:

lpGuid: PS_INTERNET_HEADERS
ulKind: MNID_STRING
Kind.lpwstrName: L"return-path"

See Also

Constants for Outlook Named Properties