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

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

unjudder/mail
=============

email services provider on top of zendframework 2

1.0-alpha2(12y ago)201.2k10[3 issues](https://github.com/unjudder/zf2-mail/issues)BSD-3-ClausePHPPHP &gt;=5.3

Since Nov 1Pushed 12y ago5 watchersCompare

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

READMEChangelogDependencies (4)Versions (2)Used By (0)

unjudder/mail
=============

[](#unjuddermail)

Email Module for [Zendframework 2](http://framework.zend.com/ "Almost Genius").

`#``Uj\Mail`**Version**1.0-alpha2**Authors**- Alrik Zachert

**License**\[BSD-3-Clause\]( License)Overview
--------

[](#overview)

In most business applications you have to send many, different emails to your customers. On top of the zendframwork we provide an easy to use, config aware email - service module.

Features
--------

[](#features)

- Provide configurable core services (transport, renderer, email)
- Render emails from templates
- Easy to use api

```
$serviceLocator->get('Uj\Mail\Email')
	->send('module/nameOfEmailTpl', array(
		'to' => 'customer@domain.tld',
		'from' => 'service@your-service.tld',
		'subject' => 'What ever - Our Customer Services',
		// ... additional parameters to pass to view renderer
	));
```

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

[](#installation)

The easiest way to install unjudder/mail is by using [composer](http://getcomposer.org "composer - package manager").

- Add the following lines to your `composer.json`

```
"require": {
	"unjudder/mail": "1.0-alpha2"
}
```

- Load the zf2 module, edit your `config/application.config.php` file:

```
'modules' => array(
	'Uj\Mail'
)
```

Usage
-----

[](#usage)

### Configuration

[](#configuration)

The config is located in the nested config namespace

```
$config['uj']['mail'];
```

#### Uj\\Mail\\Transport

[](#ujmailtransport)

  KeyTypeDescription   type string  Transport class, lookup in \\Zend\\Mail\\Transport\\\*. It must implement \\Zend\\Mail\\Transport\\TransportInterface.    options array A list of options that will be passed to the transport options instance. To do
-----

[](#to-do)

- Improve the docs.
- Add controller plugin
- Add signature support
- Add (more) template storage adapters, eg. database
- Set Subject from within email template
- Add attachments/mime parts from within email template
- Add default email parameters (to, sender, ...)
- Message Queue/Cli Tool for sending many mails in background

License
-------

[](#license)

The files in this project are released under the unjudder license. Please find a copy of this license bundled with this package in the file `LICENSE.md`. Our License is also available through the web at: .

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4582d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1944f0f08dd9bdcee5094cd7327ac9b415b26ac76f52beabebee10cf68c867e4?d=identicon)[alrik](/maintainers/alrik)

---

Top Contributors

[![alrik](https://avatars.githubusercontent.com/u/1223498?v=4)](https://github.com/alrik "alrik (28 commits)")[![mbman](https://avatars.githubusercontent.com/u/1536385?v=4)](https://github.com/mbman "mbman (1 commits)")

---

Tags

emailtransportzf2

### Embed Badge

![Health badge](/badges/unjudder-mail/health.svg)

```
[![Health](https://phpackages.com/badges/unjudder-mail/health.svg)](https://phpackages.com/packages/unjudder-mail)
```

###  Alternatives

[mtymek/mt-mail

Zend Framework e-mail module. Using this library can easily create e-mail messages from PHTML templates (with optional layouts) and send them using configurable transports. Pluggable, EventManager-driven architecture allows you to customize every aspect of the process.

1839.2k3](/packages/mtymek-mt-mail)[spoonx/sxmail

A simple mail module for Zend Framework 2.

1173.1k](/packages/spoonx-sxmail)[rwoverdijk/sxmail

A simple mail module for Zend Framework 2.

111.5k](/packages/rwoverdijk-sxmail)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
