Auto-Replies to an email ,from gmail don't have 'In-Reply-To' and 'References' header

我是研究僧i 提交于 2019-12-13 11:05:39

问题


When an Auto-Reply Message is generated by Gmail for a message, the auto-reply message is not Threaded like a normal reply and the auto-reply message does not contain In-Reply-To: and References: header in its Headers Payload. The ThreadID of the auto-reply is different than its original message (unlike a normal reply where ThreadID remains same) Which logic should we use to co-relate an auto-reply to its original message? In Other words, how do we figure out to which message is an auto-reply for?

Using Gmail API


回答1:


There will be a portion of the subject of the auto-reply that matches the subject of the received email. Also, the timestamp will be close but later than the timestamp of the received email. It's not perfect, but should be functional.



来源:https://stackoverflow.com/questions/48635709/auto-replies-to-an-email-from-gmail-dont-have-in-reply-to-and-references-h

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!