다음을 통해 공유


EnvelopeFields Property

Topic Last Modified: 2006-12-01

The SMTP and Network News Transfer Protocol (NNTP) envelope fields of the message. This property is read-only.

Applies To

IMessage Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Property EnvelopeFields As ADODB.Fields

HRESULT get_EnvelopeFields(Fields** pVal);

Parameters

  • pVal
    Returned reference to the EnvelopeFields collection of the object.

Remarks

The EnvelopeFields collection returns a restricted collection of fields that are not available through the Fields collection on a Collaboration Data Objects (CDO) object. The envelope field collection contains NNTP and SMTP transport envelope fields that are only available for the object when it is passed to a transport event sink. For more information about writing event sinks using CDO, see SMTP/NNTP Transport Event Sinks with CDO.

For SMTP OnArrival sinks, all fields in the collection are 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.