[英]How can I fetch imap reply message only through PHP?
How can I fetch iMap reply message only through PHP? 如何仅通过PHP获取iMap回复消息? Also extract the signature part from that mail.
还从该邮件中提取签名部分。
I used two methods, listed below 我使用了以下两种方法
$message = quoted_printable_decode(imap_fetchbody($inbox,$email_number,1.1));
$message1 = quoted_printable_decode(imap_fetchbody($inbox,$email_number,1.2));
This script gives all content of the particular mail, posted message and and its replies etc. I need to fetch recent reply of the particular message, not all conversations under the messages. 该脚本提供了特定邮件,已发布消息及其答复等的所有内容。我需要获取特定消息的最新答复,而不是消息下的所有对话。
It's not possible to get a reply message, simply because. 仅仅因为原因,不可能获得回复消息。 It'a a classic email and all add-ons are done on client side.
这是一封经典的电子邮件,所有附件均在客户端完成。 Also, getting only the signature can't be done because it's added on the email body so it's not possible to distinguish
另外,仅签名就无法完成,因为它已添加在电子邮件正文中,因此无法区分
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.