This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The address of the user or agent that actually submits the message.
Microsoft CDO for Exchange 2000 Library
DLL Implemented In
[Visual Basic]Property Sender As String
[C++]HRESULT get_Sender(BSTR* pVal);
HRESULT put_Sender(BSTR Val);
- Returns the value of the Sender property as a reference to a BSTR.
- Sets the value of the Sender property to the value of the BSTR.
The distinction between the From Property and the Sender property 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:
- There are multiple addresses in the From Property. The sender is the e-mail address of the person or entity in the From Property that actually submitted the message.
- The person or entity that is submitting the message is not included in the From Property.
When posting a newsgroup message, the Sender property is not used; the From Property must be specified.