Platform SDK: Exchange 2000 Server

CdoEventStatus Enum

[This is preliminary documentation and subject to change.]

The CdoEventStatus enumeration is used when implementing a transport event sink using CDO. The second argument to the various event interface methods, such as ISMTPOnArrival::OnArrival and INNTPOnPost::OnPost are set to this enumeration type. Event sinks signal to the event source whether to continue running subsequent sinks, or to skip all remaining sinks and return.

Name Value Description
cdoRunNextSink 0 Proceed to run the next sink.
cdoSkipRemainingSinks 1 Do not notify (skip) any remaining sinks.

Remarks

SMTP and NNTP transport event sinks are processed by the event source in serialized fashion. In other words, each sink has a priority relative to others for a particular event, and the sinks are notified one at a time. The event source proceeds from the highest priority sink to the lowest, and for each sink, it checks it's returned CdoEventStatus value. If the sink sets the value to cdoSkipRemainingSinks, then the event source does not proceed to notify any lower priority (remaining) sinks.

For more information, set one of the following event related interfaces:

ISMTPOnArrival

INNTPOnPost

INNTPOnPostFinal

INNTPOnPostEarly

For information about implementing SMTP and NNTP transport event sinks, see SMTP/NNTP Transport Event Sinks with CDO.