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 3mo ago4 watchersCompare

[ Source](https://github.com/shippinno/email)[ Packagist](https://packagist.org/packages/shippinno/email)[ RSS](/packages/shippinno-email/feed)WikiDiscussions master Synced 2d 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 85% of packages

Maintenance55

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

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

1574d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/398e46df56f8428891ac5447f9dccf4a12c1dc183e6988449ebb4d39d102ab68?d=identicon)[yfhub](/maintainers/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

[symfony/mailer

Helps sending emails

1.6k368.1M955](/packages/symfony-mailer)[symfony/notifier

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

80640.3M290](/packages/symfony-notifier)[zbateson/mail-mime-parser

MIME email message parser

53949.2M79](/packages/zbateson-mail-mime-parser)[directorytree/imapengine

A fully-featured IMAP library -- without the PHP extension

531175.4k4](/packages/directorytree-imapengine)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)[cspoo/swiftmailer-mailgun-bundle

Swiftmailer Mailgun bundle

1031.1M](/packages/cspoo-swiftmailer-mailgun-bundle)

PHPackages © 2026

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