Platform SDK: SMTP Server Events

IDnsResolverRecordSink Interface

[This is preliminary documentation and subject to change.]

The IDnsResolverRecordSink interface defines a method that DNS resolver event sinks must implement to be notified of the OnDnsGetResolverRecord event, indicating that a DNS record lookup is required to make a relay connection.

IID
d95a4d0c-8e06-11d2-94f6-00C04f79f1d6
Extends
IUnknown
Event Name
DnsResolverRecordSink
COM Category ID
{bd0b4366-8e03-11d2-94f6-00c04f79f1d6}

Methods

Method Description
OnSyncGetResolverRecord Called by an SMTP event dispatcher when DNS resolution records are required to route a message to a relay destination.

Remarks

To implement a sink that services requests for DNS resolution records from the SMTP service, you implement a COM class that exposes the IDnsResolverRecordSink interface. You then register a sink binding to receive notifications of the DnsResolverRecordSink event. The corresponding COM category identifier for this event is CATID_SMTP_DNSRESOLVERRECORDSINK. The string version of this GUID is "{bd0b4366-8e03-11d2-94f6-00c04f79f1d6}".