Platform SDK: CDO for Windows 2000

messagestatus Field

The transport status of the message.

Full Name

http://schemas.microsoft.com/cdo/smtpenvelope/messagestatus

OLE DB Type

DBTYPE_I4

Variant SubType

[Visual Basic] Long

[C++] long

Remarks

The message transport status can have one of three values defined by the CdoMessageStat enumeration:

Name Value Description
cdoStatSuccess 0 Success. Continue to deliver the message.
cdoStatAbortDelivery 2 Do not deliver the message.
cdoStatBadMail 3 Do not deliver the message and place it in the bad mail location.

Event sinks use this field to alter the transport status of the message, indicating to the transport whether to continue delivery of the message, to discard it, send it to the bad mail directory.

See Also

CdoMessageStat Enum

IMessage.EnvelopeFields Property

SMTP/NNTP Transport Event Sinks with CDO