Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect auto reply emails programmatically

Tags:

c#

.net

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?

like image 426
H S Avatar asked Feb 24 '12 07:02

H S


People also ask

How do you know if someone is out of office before sending the mail?

Using a smart and AUTOMATIC feature of Outlook called Mail Tips. All that you have to do is to LOOK. While you are adding email ids of recipients, Outlook is checking if they are Out of Office. If they are, it will display their ACTUAL OOF message.

How do I find auto reply in Outlook?

Sign in to Outlook on the web. > View all Outlook settings > Mail > Automatic replies. Select the Turn on automatic replies toggle.


1 Answers

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:

  • header Auto-Submitted with value other than no (see RFC 3834)
  • headers X-Autoreply or X-Autorespond with any value
  • header Precedence with value auto_reply

I don't yet have any advice for detecting message delivery failure notifications.

like image 123
Eric R. Rath Avatar answered Sep 19 '22 20:09

Eric R. Rath