Platform SDK: CDO for Windows 2000 |
The EnvelopeFields property specifies the Simple Mail Transfer Protocol (SMTP) or Network News Transfer Protocol (NNTP) transport envelope fields of the message.
[Visual Basic] Property EnvelopeFields as ADODB.Fields read-only [C++] HRESULT get_EnvelopeFields(Fields** pVal); [IDL] HRESULT [propget] EnvelopeFields([out,retval] Fields** pVal);
The EnvelopeFields collection is only available for the object when passed to a transport event sink. For more information about writing transport event sinks using Microsoft Collaboration Data Objects (CDO), see SMTP and NNTP Transport Event Sinks.
For SMTP OnArrival sinks, all fields in the collection reside within the http://schemas.microsoft.com/cdo/smtpenvelope/ namespace.
For NNTP OnPostEarly, OnPost, and OnPostFinal event sinks, all fields reside in the http://schemas.microsoft.com/cdo/nntpenvelope/ namespace.
SMTP/NNTP Transport Event Sinks with CDO