Platform SDK: Exchange 2000 Server

Sender Property

[This is preliminary documentation and subject to change.]

The address of the user or agent that actually submits the message.

[Visual Basic]
Property Sender as String
[C++]
HRESULT get_Sender(BSTR* pVal);
HRESULT out_Sender(BSTR Val);
[IDL]
HRESULT [propget] Sender([out,retval] BSTR* pVal);
HRESULT [propput] Sender([in] BSTR Val);

Remarks

The distinction between the From and Sender properties is that the Sender property identifies the address of the user or entity that actually submits the message, whereas the From property designates its principal author or authors. By convention (RFC 822), multiple addresses are not identified in the Sender property.

The Sender property is normally used when

  1. There are multiple addresses in the From header. The sender would be the email address of the person or entity in the From field that actually submitted the message.
  2. The person or entity that is submitting the message is not included in the From field.

When posting a message, the Sender property is not used; the From property must be specified.

This property is also available as the urn:schemas:mailheader:sender and urn:schemas:httpmail:sender fields.

See Also

urn:schemas:mailheader:sender Field

urn:schemas:httpmail:sender Field