如何检查电子邮件主题的垃圾邮件分数
我正在寻找一个 PHP API/类/方法来计算电子邮件主题的垃圾邮件分数,以便在营销网站上使用(例如,垃圾邮件分数是在构建电子邮件时计算的,而不是在收到电子邮件)。我见过像 SpamAssassin 这样的类似产品,但想知道是否有更基本的东西,因为只需要主题分数。
谢谢。
I'm looking for a PHP API/class/method to calculate the spam score of an email's subject for use on a marketing website (as in, the spam score is calculated while building an email, not on receiving an email). I've seen similar products like SpamAssassin but wondered if there's anything more basic seeing as only the subject score is needed.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
与 SpamAssassin 的接口。这里有一些代码:
https://web.archive.org/web/20130119010823/http://ppadron.blog.br/2010/05/04/php-api-to-spamassassin-spamd-协议/
Interface with SpamAssassin. There is some code here:
https://web.archive.org/web/20130119010823/http://ppadron.blog.br/2010/05/04/php-api-to-spamassassin-spamd-protocol/
一封电子邮件的垃圾邮件分数不仅由主题计算,而且是数百个分类器的总和。检查您的垃圾邮件主题不会让邮件通过。
如果您确实想在以编程方式发送之前检查邮件,请生成一封带有主题的虚拟邮件,并通过命令行通过本地 spamassassin 安装运行它。
spam score of an email is not only calculated by the subject, but is the sum of hundreds of classifiers. checking your spam emails subjectg wont get the mail through.
if you really want to check your mail before sending programatically, generate a dummy mail with your subject and run it through a local spamassassin installation via command line.