PHPackages                             monsieurmechant/sf2-simple-mailer-bundle - 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. monsieurmechant/sf2-simple-mailer-bundle

ActiveSymfony-bundle[Mail &amp; Notifications](/categories/mail)

monsieurmechant/sf2-simple-mailer-bundle
========================================

A simple extensible mailer interface and bundle.

06PHP

Since Mar 22Pushed 10y ago1 watchersCompare

[ Source](https://github.com/monsieurmechant/sf2-simple-mailer-bundle)[ Packagist](https://packagist.org/packages/monsieurmechant/sf2-simple-mailer-bundle)[ RSS](/packages/monsieurmechant-sf2-simple-mailer-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple Mailer Bundle
====================

[](#simple-mailer-bundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/98b399c1f9e23cc619aa1b6e1a3f24aed135e47768760d8ed0de33539060b389/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f66333931613562392d343338332d346664392d623436312d6664373561376536623231642f6d696e692e706e67)](https://insight.sensiolabs.com/projects/f391a5b9-4383-4fd9-b461-fd75a7e6b21d)[![Build Status](https://camo.githubusercontent.com/2811cfab23787f323e60c09a5e5777c66a2dc8db64ef443e53c304d6ef310188/68747470733a2f2f7472617669732d63692e6f72672f6d6f6e73696575726d656368616e742f7366322d73696d706c652d6d61696c65722d62756e646c652e737667)](https://travis-ci.org/monsieurmechant/sf2-simple-mailer-bundle)

A library agnostic mailer for Symfony 2.

This bundle is basically an interface for Mailing Providers (Swift Mailer implementation is included OOTB), a simple Mail wrapper object and an interface for templates.

It is deliberately simple and barebone. I use it as a starting point for mailing in my projects. Use it and modify it as you please (or not, you do you).

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require monsieurmechant/sf2-simple-mailer-bundle "*"
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
