PHPackages                             25th/zf2-exception-mailer-module - 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. 25th/zf2-exception-mailer-module

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

25th/zf2-exception-mailer-module
================================

Zend Framework 2 Module that provides a Simple Exception Mailer functionality

0.1.3(7y ago)12.7k3PHPPHP &gt;=5.3

Since May 3Pushed 7y ago7 watchersCompare

[ Source](https://github.com/25th-floor/zf2-exception-mailer-module)[ Packagist](https://packagist.org/packages/25th/zf2-exception-mailer-module)[ Docs](http://www.25th-floor.com/)[ RSS](/packages/25th-zf2-exception-mailer-module/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

ZendFramework 2 Exception Mailer Module
=======================================

[](#zendframework-2-exception-mailer-module)

A simple ZF2 Module for sending Mails if Exceptions happen on production systems. In it's simplest configuration it just sends the stack trace of the Exception. But you can also render views and send html mails instead.

Installation
------------

[](#installation)

Installation of this module uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
php composer.phar require 25th/zf2-exception-mailer-module
# (When asked for a version, type `0.*`)
```

Then add `ExceptionMailer` to your `config/application.config.php`.

Installation without composer is not officially supported and requires you to manually install all dependencies that are listed in `composer.json`

Configuration
-------------

[](#configuration)

To configure the Mailer use your application config:

```
