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.
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/