| Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Outbound protocol events occur during the SMTP dialog with a connection initiated by the SMTP service itself, for example when relaying messages to their next location. The following events are provided:
| Event | Description |
|---|---|
| OnSessionStart | Occurs before the "EHLO" protocol command is transmitted. |
| OnMessageStart | Occurs before the "MAIL FROM" protocol command is transmitted. |
| OnPerRecipient | Occurs before the "RCPT TO" protocol command is transmitted. |
| OnBeforeData | Occurs before the "DATA" protocol command is transmitted. |
| OnSessionEnd | Occurs before the "QUIT" command is transmitted. |