Platform SDK: SMTP Server Events |
[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.
Method | Description |
---|---|
OnSyncGetResolverRecord | Called by an SMTP event dispatcher when DNS resolution records are required to route a message to a relay destination. |
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}".