Componette

Componette

tomaskarlik

tomaskarlik / EmailSpamTester 1.02

Util for check Nette mail message by spamassassin

download-cloud-line composer require tomaskarlik/emailspamtester

EmailSpamTester

Email SPAM checker for Nette using templateria/spamassassin.

Configuration

spamassassin: TomasKarlik\EmailSpamTester\DI\EmailSpamTesterExtension

spamassassin:
	hostname: '127.0.0.1'
	port: 783
	received: TRUE #add Received header for testing

Usage

$message = new Nette\Mail\Message;
dump($emailTester->getSpamReport($message));
dump($emailTester->getSymbols($message));
dump($emailTester->getScore($message));
dump($emailTester->isSpam($message));

Install via Composer

"require": {
	"tomaskarlik/emailspamtester" : "dev-master"
}
  • 1.02 Add Received header generator for testing

  • 1.0beta

Componette Componette felix@nette.org