Skip to content

Commit

Permalink
Update badges and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ivank committed Oct 22, 2015
1 parent 6a98076 commit d733533
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Swiftmailer Filter Plugin

[![Build Status](https://travis-ci.org/OpenBuildings/swiftmailer-filter.png?branch=master)](https://travis-ci.org/OpenBuildings/swiftmailer-filter)
[![Coverage Status](https://coveralls.io/repos/OpenBuildings/swiftmailer-filter/badge.png?branch=master)](https://coveralls.io/r/OpenBuildings/swiftmailer-filter?branch=master)
[![Build Status](https://travis-ci.org/OpenBuildings/swiftmailer-filter.svg?branch=master)](https://travis-ci.org/OpenBuildings/swiftmailer-filter)
[![Code Coverage](https://scrutinizer-ci.com/g/OpenBuildings/swiftmailer-filter/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/OpenBuildings/swiftmailer-filter/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/OpenBuildings/swiftmailer-filter/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/OpenBuildings/swiftmailer-filter/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/openbuildings/swiftmailer-filter/v/stable.png)](https://packagist.org/packages/openbuildings/swiftmailer-filter)

A swiftmailer plugin that allows whitelist / blacklist to which emails to perform the sends. This is useful for example when you want to allow emails only to a certain domain in testing / staging
Expand All @@ -16,11 +17,9 @@ $mailer->registerPLugin(new FilterPlugin(['example.com'], ['test4@example.com',

First argument is whitelist, second is blacklist, they both allow array of emails or domain names. If you assign a domain, all emails from that domain will be whitelisted / blacklisted.

There are additional getters / setters that you might use:
There are additional getters that you might use:

- ``setWhitelist($whitelist)``
- ``getWhitelist()``
- ``setBlacklist($blacklist)``
- ``getBlacklist()``

## License
Expand Down

0 comments on commit d733533

Please sign in to comment.