[英]Determine if a received email was forwarded, using ruby
Imagine that you receive and parse an email using the ruby Mail gem . 想象一下,您使用ruby Mail gem接收并解析了一封电子邮件。 I need to be able to determine if the email has been forwarded, and extract the original sender and message.
我需要能够确定电子邮件是否已转发,并提取原始发件人和邮件。 By this I mean forwarded as in a user somewhere has clicked the "Forward" button in their email client or webmail interface.
所谓“转发”,是指用户在某处单击电子邮件客户端或Webmail界面中的“转发”按钮。
I guess my questions are: 我想我的问题是:
Cheers! 干杯!
Each email client can do whatever they want. 每个电子邮件客户端可以做他们想做的任何事情。 So even if you create a detector/parsaer today, tomorrow with a new version of outlook/thunderbird probably it will not match.
因此,即使您今天创建了一个探测器/ parsaer,明天使用新版本的Outlook / Thunderbird可能也不会匹配。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.