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

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

dimarick/mail
=============

Class that provides multiple interfaces for sending emails.

v2.0.0beta2(8y ago)013.7kBSD-2-ClausePHPPHP &gt;=5.6

Since Jan 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dimarick/Mail)[ Packagist](https://packagist.org/packages/dimarick/mail)[ Docs](http://pear.php.net/package/Mail)[ RSS](/packages/dimarick-mail/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (7)Used By (0)

Mail
====

[](#mail)

Class that provides multiple interfaces for sending emails.

PEAR's Mail package defines an interface for implementing mailers under the PEAR hierarchy. It also provides supporting functions useful to multiple mailer backends.

Currently supported backends include:

- PHP's native `mail()` function
- sendmail
- SMTP

This package also provides a `RFC 822` email address list validation utility class.

Use Mail in combination with `Mail_Mime` to send HTML emails or emails with attachments - have a look at the example.

[http://pear.php.net/package/Mail\_Mime](http://pear.php.net/package/Mail_Mime)

Installation
============

[](#installation)

`$ composer require pear/mail`

Links
=====

[](#links)

Homepage Source code Issue tracker [http://pear.php.net/bugs/search.php?cmd=display&amp;package\_name\[\]=Mail](http://pear.php.net/bugs/search.php?cmd=display&package_name%5B%5D=Mail)Unit test status Packagist

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.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

Every ~132 days

Recently: every ~159 days

Total

6

Last Release

3118d ago

Major Versions

v1.4.1 → v2.0.0beta12017-09-28

PHP version history (2 changes)1.3.0PHP &gt;=5.2.1

v2.0.0beta1PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/e32ac47d3425e1d7bd00bfc05c95ad7083ffb9ed12dd7813431cbf7f7a385e0b?d=identicon)[dimarick](/maintainers/dimarick)

---

Top Contributors

[![jparise](https://avatars.githubusercontent.com/u/10311?v=4)](https://github.com/jparise "jparise (74 commits)")[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (16 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (15 commits)")[![gauthierm](https://avatars.githubusercontent.com/u/120511?v=4)](https://github.com/gauthierm "gauthierm (6 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (4 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (4 commits)")[![alecpl](https://avatars.githubusercontent.com/u/546788?v=4)](https://github.com/alecpl "alecpl (2 commits)")[![dimarick](https://avatars.githubusercontent.com/u/2605934?v=4)](https://github.com/dimarick "dimarick (2 commits)")[![glensc](https://avatars.githubusercontent.com/u/199095?v=4)](https://github.com/glensc "glensc (2 commits)")[![mj](https://avatars.githubusercontent.com/u/5277?v=4)](https://github.com/mj "mj (2 commits)")[![tvvcox](https://avatars.githubusercontent.com/u/743820?v=4)](https://github.com/tvvcox "tvvcox (1 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (1 commits)")[![roelvanmeer](https://avatars.githubusercontent.com/u/11042467?v=4)](https://github.com/roelvanmeer "roelvanmeer (1 commits)")[![stigsb](https://avatars.githubusercontent.com/u/169939?v=4)](https://github.com/stigsb "stigsb (1 commits)")[![fiftin](https://avatars.githubusercontent.com/u/914224?v=4)](https://github.com/fiftin "fiftin (1 commits)")[![kenguest](https://avatars.githubusercontent.com/u/234118?v=4)](https://github.com/kenguest "kenguest (1 commits)")

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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