PHPackages                             stijnkoopal/zf2-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. stijnkoopal/zf2-mail

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

stijnkoopal/zf2-mail
====================

Zend Framework 2 module that provides a highly configurable mail service

43553PHP

Since Aug 2Pushed 12y ago1 watchersCompare

[ Source](https://github.com/stijnkoopal/zf2-mail)[ Packagist](https://packagist.org/packages/stijnkoopal/zf2-mail)[ RSS](/packages/stijnkoopal-zf2-mail/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

ZF-2 Mail
=========

[](#zf-2-mail)

Introduction
------------

[](#introduction)

This module provides a highly configurable service for sending emails. It allows you to send emails with both plain as html content. Furthermore, it provides the ability to specify layouts for both content types.

Requirements
------------

[](#requirements)

- [Zend Framework 2](https://github.com/zendframework/zf2) (latest master)

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

[](#installation)

### Main Setup

[](#main-setup)

#### By cloning project (not recommended)

[](#by-cloning-project-not-recommended)

1. Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

1. Add this project in your composer.json:

    ```
    "require": {
        "stijnkoopal/zf2-mail": "dev-master"
    }
    ```
2. Now tell composer to download Zf2 mail by running the command:

    ```
    $ php composer.phar update
    ```

#### Post installation

[](#post-installation)

1. Enabling it in your `application.config.php`file.

    ```
