Platform SDK: CDO for Windows 2000 |
The Sender property specifies the messaging address of the submitter.
[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);
The difference 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, which is outlined in Request for Comments (RFC) 822, multiple addressees are not identified in the Sender property.
The Sender property is normally used under the following circumstances:
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.