Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The ISmtpMaxMsgSize interface defines a method that transport event sinks must implement to be notified of the OnSmtpMaxMsg event, indicating that a submitted message is over the maximum message size.
Method | Description |
---|---|
OnSyncMaxMsgSize | Called by the SMTP event dispatcher for each processed message. |
To implement a sink that handles notifications of messages submitted to the transport with content over the maximum configured size, you implement a COM class that exposes the ISmtpMaxMsgSize interface. You then register a sink binding to receive notifications of the OnMaxMsgSize event. The corresponding COM category identifier for this event is CATID_SMTP_MAXMSGSIZE. The string version of this GUID is "{ebf159de-a67e-11d2-94f7-00c04f79f1d6}".