Platform SDK: SMTP Server Events

Protocol Event Interfaces

[This is preliminary documentation and subject to change.]

The following sections provide a reference for interfaces used to create protocol event sinks for the SMTP service for Microsoft Windows 2000. These interfaces are as follows:

Interface Description
ISmtpInCommandSink Inbound protocol event sinks provide implementations of this interface. The SMTP inbound protocol event dispatcher notifies each applicable sink of the event by calling the OnSmtpInCommand method, passing context information to the sink through an ISmtpInCommandContext object reference.
ISmtpInCommandContext Inbound protocol event sinks are passed this interface when notified of an inbound protocol command event. The sink uses this interface to access information about the current SMTP server context.
ISmptOutCommandSink Outbound protocol event sinks provide implementations of this interface. The SMTP outbound protocol event dispatcher notifies each applicable sink of the event by calling the OnSmtpOutCommand method, passing context information to the sink through an ISmtpOutCommandContext object reference.
ISmtpOutCommandContext Outbound protocol event sinks are passed this interface when notified of an outbound protocol command event. The sink uses this interface to access information about the current SMTP server context.
ISmtpServerResponseSink Inbound Response protocol event sinks provide implementations of this interface. The SMTP response protocol event dispatcher notifies each applicable sink of the event by calling the OnSmtpServerResponse method, passing context information to the sink through an ISmtpOutCommandContext object reference.
ISmtpServerResponseContext Server response protocol event sinks are passed this interface when notified of an response protocol command event. The sink uses this interface to access information about the current SMTP server context.