Reputation: 169
I have scenario where I would have to track the delivery of the emails I send programmatically and flag those recipients who have set either 'Out of Office" OR have the message delivery failed due to over-sized inbox OR if their email ID doesn't exist. Such instances usually send out automated replies. How can I track them? Does .NET (System.Net.Mail) offer any APIs to do it?
Upvotes: 12
Views: 12452
Reputation: 1979
There's no set of checks for auto-responses that produce perfect behavior (detect all auto-replies with no false positives), but the following checks have worked well so far:
Auto-Submitted
with value other than no
(see RFC
3834)X-Autoreply
or X-Autorespond
with any valuePrecedence
with value auto_reply
I don't yet have any advice for detecting message delivery failure notifications.
Upvotes: 27