tomaskarlik / emailspamtester
Util for check Nette mail message by spamassassin
1.02
2017-02-06 23:05 UTC
Requires
- php: >=5.6
- nette/di: ~2.4.0
- nette/mail: ~2.4.0
- nette/utils: ~2.4.0
- templateria/spamassassin: dev-master
This package is not auto-updated.
Last update: 2024-11-10 02:42:58 UTC
README
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"
}