Been googling for this and haven't found anything ...
Does anybody know if there is a way, given an Outlook email item, to detect whether it was sent by the "Out Of Office Assistant"? Is there any property that Outlook sets on the object, or any header information, that identifies an email as such? I was hoping not to have to parse the subject line for "Out Of Office", etc.
It would be great if there were some standard, so autoreplies from other email services (like Gmail) could also be detected, but for me Outlook is the highest priority.
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.
This feature is stored in a set variable and is overwritten when a new out of office message is created. You can only view the most recent message & settings by going into the out of office assistant (where it'll show until it's changed again).
You can find this in the top left corner of your window. Then click Automatic Replies (Out of Office). The Automatic Replies window will then appear. Note: If you are using an older version of Outlook, such as Outlook 2007, go to Tools > Out of Office Assistant.
Look for these headers:
And subjects starting with:
This question often comes up in Google, so I decided to add an important note.
Don't ever use X-Auto-Response-Suppress
in your filters as suggested in the other answer.
X-Auto-Response-Suppress
is used by Exchange to tell other servers to not send auto-replies in response to an email. It doesn't mean that this email is an auto-response.
We had to learn it the hard way, hope you won't have to. I've also wrote a blog post with more details: http://www.jitbit.com/maxblog/18-detecting-outlook-autoreplyout-of-office-emails-and-x-auto-response-suppress-header/
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