How can we identify if a mail received is an auto-generated one (OOO) from its headers?
It is required for functionality in the product, otherwise, we are entering in an infinite loop of auto-generated emails to and forth.
How can we identify if a mail received is an auto-generated one (OOO) from its headers?
It is required for functionality in the product, otherwise, we are entering in an infinite loop of auto-generated emails to and forth.
Agree with Andy, I checked the message header of an oof message Auto-Submitted: auto-generated in my environment.
And a related thread here: How to set Auto-Submitted email header sending email via GRAPH API
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Any progress? Have you checked the suggestion below?
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
If the messaging system follows RFC3834
https://datatracker.ietf.org/doc/html/rfc3834
Automatic responses SHOULD NOT be issued in response to any
message which contains an Auto-Submitted header field (see below),
where that field has any value other than "no".
As an example, in Exchange Online, the following is the header of an OOF:
Auto-Submitted: auto-generated
So look for that header and handle based on that.
22 people are following this question.