library email-stripper
A library to strip things from email, namely quoted replies and signatures.
mrferos/email-stripper
A library to strip things from email, namely quoted replies and signatures.
- Thursday, November 2, 2017
- by mrferos
- Repository
- 3 Watchers
- 0 Stars
- 8 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
, (*1)
Email-Stripper
A library to strip things from email, right now it's just quoted replies. Hoping to reliably get signatures soon., (*2)
Code Examples
$emailStripper = new \EmailStripper\EmailStripper;
$emailStripper->addStripper('QuotedReplies');
$strippedMessage = $emailStripper->strip($message);
Adding your own stripper
Your need to write a class that implements the StripperInterface which contains three methods:, (*3)
Afterwards you can call addStripper with either an object or classpath., (*4)
$emailStripper = new \EmailStripper\EmailStripper;
$emailStripper->addStripper('My\Customer\Stripper');
That's it!, (*5)
dev-master
9999999-dev
A library to strip things from email, namely quoted replies and signatures.
Sources
Download
MIT
The Requires
The Development Requires
by
Andres Galindo
dev-remove_signature
dev-remove_signature
A library to strip things from email, namely quoted replies and signatures.
Sources
Download
MIT
The Requires
The Development Requires
by
Andres Galindo