2017 © Pedro Peláez
 

library email-stripper

A library to strip things from email, namely quoted replies and signatures.

image

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

The README.md

Travis-CI Scrutinizer-CI, (*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)

  • setMessage
  • has
  • strip

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)

The Versions

02/11 2017

dev-master

9999999-dev

A library to strip things from email, namely quoted replies and signatures.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Andres Galindo

11/06 2015

dev-remove_signature

dev-remove_signature

A library to strip things from email, namely quoted replies and signatures.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Andres Galindo