Platform SDK: SMTP Server Events

ISmtpMaxMsgSize Interface

[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.

IID
b997f192-a67d-11d2-94f7-00C04f79f1d6
Extends
IUnknown
Event Name
MaxMsgSize
COM Category ID
{ebf159de-a67e-11d2-94f7-00c04f79f1d6}

Methods

Method Description
OnSyncMaxMsgSize Called by the SMTP event dispatcher for each processed message.

Remarks

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}".