Detecting Outlook autoreply/out-of-office emails

前端 未结 7 940
旧巷少年郎
旧巷少年郎 2020-12-08 07:55

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 O

7条回答
  •  悲&欢浪女
    2020-12-08 08:22

    I looked into header of Outlook auto reply emails but didn't find any special. You can try a little trick here - Just keep track of time at which your mail server sends out the mail to users. If the mail server receives a reply mail within few seconds (say less than 10 seconds), its probably an auto reply. Incorporate this with subject parsing to get better detection of auto reply mails. Its not a concrete method but I guess it will work.

提交回复
热议问题