EnvelopeFields Property

EnvelopeFields Property

The EnvelopeFields property specifies the Simple Mail Transfer Protocol (SMTP) or Network News Transfer Protocol (NNTP) transport envelope fields of the message.


Property EnvelopeFields as ADODB.Fields
HRESULT get_EnvelopeFields(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.

See Also


SMTP/NNTP Transport Events Sinks with CDO
http://schemas.microsoft.com/cdo/smtpenvelope/ Namespace
http://schemas.microsoft.com/cdo/nntpenvelope/ Namespace