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

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

inrage/acorn-mail
=================

Simple WordPress SMTP using Acorn.

v1.0.0(1y ago)01.1kMITPHPPHP &gt;=8.3

Since Nov 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/inrage/acorn-mail)[ Packagist](https://packagist.org/packages/inrage/acorn-mail)[ RSS](/packages/inrage-acorn-mail/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

WordPress Acorn Mail
====================

[](#wordpress-acorn-mail)

Acorn Mail is an Acorn provider for WordPress. It allows you to send emails using an SMTP configuration.

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- Acorn 4.0 or higher

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

[](#installation)

```
composer require inrage/acorn-mail
```

Getting Started
---------------

[](#getting-started)

Start by publishing the configuration file:

```
wp acorn vendor:publish --tag=acorn-mail
```

Then, configure the SMTP settings in the `.env` file:

```
MAIL_MAILER=
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=
```

Usage
-----

[](#usage)

### Native

[](#native)

The `native` mailer uses the native PHP `mail` function to send emails.

```
MAIL_MAILER=native
```

### SMTP

[](#smtp)

The `smtp` mailer uses an SMTP server without authentification to send emails. For example, you can use MailHog to test emails locally.

```
MAIL_MAILER=smtp
MAIL_HOST=127.0.0.1
MAIL_PORT=1025
```

### SMTPS

[](#smtps)

The `smtps` mailer uses an SMTP server with authentification to send emails.

```
MAIL_MAILER=smtps
MAIL_HOST=smtp.example.com
MAIL_PORT=587
MAIL_USERNAME=123456ABCDEF
MAIL_PASSWORD=123456ABCDEF
MAIL_ENCRYPTION=tls
```

Once the configuration is set up, you can send emails using the `wp-cli` command:

```
wp eval 'wp_mail("john_doe@example", "Test e-mail from " . home_url(), "This is a test");'
```

Bugs and Issues
---------------

[](#bugs-and-issues)

If you encounter any bugs or issues, feel free to [open an issue](https://github.com/inrage/acorn-mail/issues).

License
-------

[](#license)

Acorn Mail is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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

585d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c7c779624865d029b7c8893d8697df6360ba02b26f4beb95b4218b467adddd5?d=identicon)[Akiletour](/maintainers/Akiletour)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)

PHPackages © 2026

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