riverline / spamassassin
Library to request SpamAssassin report
Installs: 102 818
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 3
Open Issues: 0
Requires
- php: >=5.3
- guzzle/guzzle: 3.*
This package is auto-updated.
Last update: 2024-12-16 21:48:01 UTC
README
What is Riverline\SpamAssassin
Riverline\SpamAssassin
is a simple lib to get SpamAssassin score and report for an Email.
Requirements
- PHP 5.3
- Guzzle 3.*
Installation
Riverline\SpamAssassin
is compatible with composer and any prs-0 autoloader
Usage
Currently, only one provider is available : PostmarkWebservice
.
It use the Postmark free Spamcheck webservice available here : http://spamcheck.postmarkapp.com/doc
<?php use Riverline\SpamAssassin\PostmarkWebservice $spamAssassin = new PostmarkWebservice(); echo $spamAssassin->getScore($rawEmail); // Optionally get the full report echo $spamAssassin->getReport();