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

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

ddd/mail
========

17PHP

Since Aug 15Pushed 12y ago3 watchersCompare

[ Source](https://github.com/ddd-php/Mail)[ Packagist](https://packagist.org/packages/ddd/mail)[ RSS](/packages/ddd-mail/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mail
====

[](#mail)

**Mail** is a component which allow to create/send email easily whatever mailer mecanism you use (SwiftMailer...).

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

[](#installation)

Using Composer, just require the `ddd/components` package:

```
{
    "require": {
        "ddd/components": "dev-master"
    }
}
```

Usage
-----

[](#usage)

### 1. Prepare your email

[](#1-prepare-your-email)

#### Method A

[](#method-a)

```
