自动回复邮件,从Gmail没有'In-Reply-To'和'References'标题 [英] Auto-Replies to an email ,from gmail don't have 'In-Reply-To' and 'References' header

查看:1098
本文介绍了自动回复邮件,从Gmail没有'In-Reply-To'和'References'标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当Gmail为消息生成自动回复消息时,自动回复消息不是正常回复的Threaded,并且自动回复消息不包含In-Reply-To:和References:头部头部有效负载。自动回复的ThreadID与原始消息不同(与ThreadID保持不变的正常回复不同)
我们应该使用哪种逻辑将自动回复与其原始消息共同关联?换句话说,我们如何确定哪些邮件是自动回复的?

使用Gmail API

解决方案

自动回复主题的一部分与收到的电子邮件主题相匹配。此外,时间戳将会接近但晚于收到的电子邮件的时间戳。这不是完美的,但应该是功能。


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

解决方案

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.

这篇关于自动回复邮件,从Gmail没有'In-Reply-To'和'References'标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆