PHPackages                             shippinno/email - 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. shippinno/email

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

shippinno/email
===============

v1.0.4(4y ago)02.1k1PHPPHP &gt;=7.1

Since Nov 6Pushed 4mo ago4 watchersCompare

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

READMEChangelog (4)Dependencies (6)Versions (7)Used By (1)

Email
=====

[](#email)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b514e558c638d5200270697d558872605bdba3f70109fc9cfb59fe18781c5bac/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368697070696e6e6f2f656d61696c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shippinno/email/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/a52f2a24eccf206586eb3ddc1808848495c3df1fa3264efd7ec973084be22831/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368697070696e6e6f2f656d61696c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shippinno/email/?branch=master)[![Build Status](https://camo.githubusercontent.com/a1854dc07c2f139e0c6771a85936f528ad4fb6b4e11ac419c01836234c047d2e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368697070696e6e6f2f656d61696c2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shippinno/email/build-status/master)

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

[](#installation)

```
$ composer require shippinno/email
```

Usage
-----

[](#usage)

Use a `SendEmail` to send an `Email`. It reattempts to send if `$maxReattempts` attribute is set.

```
use Shippinno\Email\SwiftMailer\SwiftMailerSendEmail;
use Tanigami\ValueObjects\Web\Email;
use Swift_Mailer;

$sendEmail = new SwiftMailerSendEmail(new Swift_Mailer(...));
$sendEmail->execute(
    new Email(...),
    3 // max reattempts
);
```

### Dealing with non RFC email address

[](#dealing-with-non-rfc-email-address)

#### Swift Mailer

[](#swift-mailer)

Swift Mailer rejects Non RFC compliant email addresses by default.

You can set a custom email validator and Mime grammer (for Swift Mailer 5.x compatibility) allowing non RFC email address (e.g. `email.@example.com`) by calling `allow_non_rfc_email_address();` function.

```
use function Shippinno\Email\SwiftMailer\register_swift_non_rfc_email_validator;

allow_non_rfc_email_address();
(new Swift_Message)->setTo('email.@example.com'); // => OK
```

#### `EmailAddress` object

[](#emailaddress-object)

`Tanigami\ValueObjects\Web\EmailAddress` requires its value to be RFC compliant by default. You can have it soft validate by setting the second attribute of the constructor to `true`.

```
new EmailAddress('email..@example.com') // => InvalidArgumentException
new EmailAddress('email..@example.com', true); // => OK
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance51

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% 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

Every ~293 days

Total

5

Last Release

1622d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c0c43c3f3e8303e9cbefffe9886a7f7b4f4f05f76c756f7b654c8d1d30d6d79?d=identicon)[tanigami](/maintainers/tanigami)

![](https://avatars.githubusercontent.com/u/22097897?v=4)[y-Fukui](/maintainers/yfhub)[@yfhub](https://github.com/yfhub)

---

Top Contributors

[![tanigami](https://avatars.githubusercontent.com/u/86785?v=4)](https://github.com/tanigami "tanigami (21 commits)")[![HMuramatsu](https://avatars.githubusercontent.com/u/28722773?v=4)](https://github.com/HMuramatsu "HMuramatsu (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shippinno-email/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.5k](/packages/laravel-framework)[symfony/mailer

Helps sending emails

1.6k394.6M1.3k](/packages/symfony-mailer)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M717](/packages/sylius-sylius)[symfony/notifier

Sends notifications via one or more channels (email, SMS, ...)

80642.7M427](/packages/symfony-notifier)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)

PHPackages © 2026

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