Platform SDK: CDO for Windows 2000 |
The following interfaces are provided as part of the Microsoft CDO for Windows 2000 COM component.
Interface | Description |
---|---|
IMessage | Defines methods and properties used to manage a message. |
IBodyPart | Defines methods and properties used to manage a message body part. |
IBodyParts | Defines methods and properties used to manage a collection of BodyPart objects. |
IDataSource | Defines methods and properties used to bind objects to other objects that act as data sources. |
The CDO Message COM class provides an implementation of the IMessage, IBodyPart, and IDataSource interfaces. Both the BodyPart and Message COM classes can have child body parts, and so each exposes a BodyParts collection. This collection objects exposes an implementation of the IBodyParts interface.
Interface | Description |
---|---|
INNTPOnPost | Defines an event method called by the NNTP transport event dispatcher when a message has been posted to the NNTP service. |
INNTPOnPostEarly | Defines an event method called by the NNTP transport event dispatcher when message headers have arrived to the NNTP service. |
INNTPOnPostFinal | Defines an event method called by the NNTP transport event dispatcher after a message has been committed to a store. |
ISMTPOnArrival | Defines an event method called by the SMTP transport event dispatcher when a message has been submitted to the SMTP service transport core. |
To create transport event sinks, you provide implementations of these interfaces. For the SMTP OnArrival transport event, you implement the ISMTPOnArrival interface. For NNTP OnPostEarly, OnPost, and OnPostFinal events, you implement the INNTPOnPostEarly, INNTPOnPost, and INNTPOnPostFinal interfaces respectively.
Interface | Description |
---|---|
IConfiguration | Defines methods and properties used to manage the configuration of a Message object. |
The CDO Configuration COM class exposes an implementation of the IConfiguration interface.
Interface | Description |
---|---|
IDropDirectory | Defines a method used to manage a collection of messages in the file system folder. |
IMessages | Defines methods and properties used to manage a collection of messages in a file system folder. |
The DropDirectory COM class exposes an implementation of the IDropDirectory interface. The IDropDirectory.GetMessages method returns the IMessages interface on a Messages collection object. This collection contains messages loaded from the specified file system folder, and can be used to manage these messages.