PHPackages                             linio/mail - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. linio/mail

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

linio/mail
==========

Abstracts mailer service communication, such as Mandrill and Amazon SES

2.0.0(10y ago)5291[1 PRs](https://github.com/LinioIT/mail/pulls)BSD-3-ClausePHPPHP &gt;=7.0

Since Mar 16Pushed 5y ago55 watchersCompare

[ Source](https://github.com/LinioIT/mail)[ Packagist](https://packagist.org/packages/linio/mail)[ RSS](/packages/linio-mail/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (5)Used By (0)

Linio Mail
==========

[](#linio-mail)

[![Latest Stable Version](https://camo.githubusercontent.com/d32ccb2d2e3e2e64e91554eb766487777bd09bb688d4f64c33c047d9ffb492e3/68747470733a2f2f706f7365722e707567782e6f72672f6c696e696f2f6d61696c2f762f737461626c652e737667)](https://packagist.org/packages/linio/mail) [![License](https://camo.githubusercontent.com/b6f7c5d4b85da2e3df0d768f423a04b5d9a2b0968800f056bd880f3f1e6f6aeb/68747470733a2f2f706f7365722e707567782e6f72672f6c696e696f2f6d61696c2f6c6963656e73652e737667)](https://packagist.org/packages/linio/mail) [![Build Status](https://camo.githubusercontent.com/57a436c9de99f9bb32ec5f6a1d17e6eecf792d9057828f7c01fdbfc74cc76b8a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4c696e696f49542f6d61696c2e706e67)](http://travis-ci.org/LinioIT/mail) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/75e629245fecc41f16e2dfe8e88b9119f7c4f6e13b90e1ed2282c2904b4116d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c696e696f49542f6d61696c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LinioIT/mail/?branch=master)

Linio Mail is yet another component of the Linio Framework. It aims to abstract email messaging by supporting multiple adapters.

Install
-------

[](#install)

The recommended way to install Linio Mail is [through composer](http://getcomposer.org).

```
$ composer install linio/mail
```

Tests
-----

[](#tests)

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

```
$ composer install
$ vendor/bin/phpunit
```

Usage
-----

[](#usage)

The library is very easy to use: first, you have to register the service. For Silex, a service provider is included. Just register it:

```
