Platform SDK: SMTP Server Events

InBound Protocol Events

[This is preliminary documentation and subject to change.]

The inbound protocol events occur during an SMTP protocol dialog that occurs when a client initiates the socket connection. The following inbound protocol events are provided:

Event Description
OnInBoundCommand This event occurs whenever a protocol command is received by the SMTP protocol service.
OnServerResponse This event occurs when the SMTP protocol service is going to respond to a previously sent command.

Sinks can filter the commands for which they receive notifications using the binding "Rule" source property. For example, "mail from=*" causes the sink to be notified of any inbound MAIL FROM SMTP command that has arrived from a client.