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.

Syntax

Property EnvelopeFields as ADODB.Fields
read-only
HRESULT get_EnvelopeFields(Fields**pVal);

Remarks

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 https://schemas.microsoft.com/cdo/smtpenvelope/ namespace.

For NNTP OnPostEarly, OnPost, and OnPostFinal event sinks, all fields reside in the https://schemas.microsoft.com/cdo/nntpenvelope/ namespace.

See Also

Concepts

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