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?
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.
Sign in to Outlook on the web. > View all Outlook settings > Mail > Automatic replies. Select the Turn on automatic replies toggle.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With