An open API service indexing awesome lists of open source software.

https://github.com/fullpipe/riverline-spamassassin

Simple lib to get SpamAssassin score and report for an Email.
https://github.com/fullpipe/riverline-spamassassin

Last synced: 5 months ago
JSON representation

Simple lib to get SpamAssassin score and report for an Email.

Awesome Lists containing this project

README

          

# 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

Add to your `composer.json`:
```json
{
"require": {
...
"fullpipe/spamassassin": "dev-master"
...
}
}
```

## Usage

Currently, only one provider is available : ``PostmarkWebservice``.

It use the Postmark free Spamcheck webservice available here :
http://spamcheck.postmarkapp.com/doc

```php
getScore();
echo $spamAssassin->getReport();
var_dump($spamAssassin->getReportAsArray());
```