PHPackages                             mattmezza/php-mail-msg - 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. mattmezza/php-mail-msg

ActiveLibrary

mattmezza/php-mail-msg
======================

Need to send an email from your webserver's MTA using the mail() function??

v1.0(9y ago)017MITPHP

Since Nov 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mattmezza/php-mail-msg)[ Packagist](https://packagist.org/packages/mattmezza/php-mail-msg)[ RSS](/packages/mattmezza-php-mail-msg/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

mail-msg
========

[](#mail-msg)

Need to send an email from your webserver's MTA using the mail() function??

[![Build Status](https://camo.githubusercontent.com/3c2c54527b52b26aebe0690852fbbb8dc383463a3233504ea2757014426e3dc2/68747470733a2f2f7472617669732d63692e6f72672f6d6174746d657a7a612f7068702d6d61696c2d6d73672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mattmezza/php-mail-msg)

---

`composer require mattmezza/php-mail-msg`

```
$mail = new PHPMailMsg\Mail($to, $subject, $body, $replyTo, $from); //you can specify a $mailer as last param
if($mail->send()) {
  //mail msg has been sent
} else {
  // Ooopss
}
```

The library uses the default `mail(...)` function and has been made with demonstration purposes.

Matteo Merola

###  Health Score

27

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

3411d ago

### Community

Maintainers

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

---

Top Contributors

[![mattmezza](https://avatars.githubusercontent.com/u/1915989?v=4)](https://github.com/mattmezza "mattmezza (4 commits)")

### Embed Badge

![Health badge](/badges/mattmezza-php-mail-msg/health.svg)

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

PHPackages © 2026

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