PHPackages                             wearerequired/wp-mail-return-path - 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. wearerequired/wp-mail-return-path

ActiveWordpress-muplugin[Mail &amp; Notifications](/categories/mail)

wearerequired/wp-mail-return-path
=================================

WordPress mu-plugin to set sender/return path for mail if not set..

1.1.0(4mo ago)05.7k↑30%GPL-2.0-or-laterPHPPHP &gt;=5.6

Since Oct 10Pushed 4mo agoCompare

[ Source](https://github.com/wearerequired/wp-mail-return-path)[ Packagist](https://packagist.org/packages/wearerequired/wp-mail-return-path)[ Docs](https://github.com/wearerequired/wp-mail-return-path)[ RSS](/packages/wearerequired-wp-mail-return-path/feed)WikiDiscussions master Synced yesterday

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

WP Mail Return Path
===================

[](#wp-mail-return-path)

Sets sender/return path for mail if not set to prevent auto-filling it with a server name which isn't authorized to send emails.

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

[](#installation)

The package type is `wordpress-muplugin`. Example of a `composer.json`:

```
{
  "name": "wearerequired/something",
  "description": "required.com",
  "license": "GPL-2.0-or-later",
  "authors": [
    {
      "name": "required gmbh",
      "email": "info@required.com"
    }
  ],
  "require": {
    "php": ">=5.6",
    "koodimonni/composer-dropin-installer": "dev-master",
    "johnpbloch/wordpress": "~4.9",
    "wearerequired/wp-mail-return-path": "^1.0"
  },
  "extra": {
    "wordpress-install-dir": "wordpress/wp",
    "installer-paths": {
      "wordpress/content/plugins/{$name}/": [
        "type:wordpress-plugin"
      ],
      "vendor/{$vendor}/{$name}/": [
        "type:wordpress-muplugin"
      ],
      "wordpress/content/themes/{$name}/": [
        "type:wordpress-theme"
      ]
    },
    "dropin-paths": {
      "wordpress/content/mu-plugins/": [
        "type:wordpress-muplugin"
      ]
    }
  },
  "minimum-stability": "dev",
  "prefer-stable": true
}
```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance75

Regular maintenance activity

Popularity22

Limited adoption so far

Community6

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

Every ~2323 days

Total

2

Last Release

134d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1446895?v=4)[required](/maintainers/wearerequired)[@wearerequired](https://github.com/wearerequired)

---

Top Contributors

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

---

Tags

spf-recordwordpresswordpress-mupluginwp-mailwordpressspfwp-mailreturn-path

### Embed Badge

![Health badge](/badges/wearerequired-wp-mail-return-path/health.svg)

```
[![Health](https://phpackages.com/badges/wearerequired-wp-mail-return-path/health.svg)](https://phpackages.com/packages/wearerequired-wp-mail-return-path)
```

###  Alternatives

[humanmade/aws-ses-wp-mail

WordPress plugin to send mail via SES

188268.0k8](/packages/humanmade-aws-ses-wp-mail)[mlocati/spf-lib

Parse, build and validate SPF (Sender Policy Framework) DNS records

68955.6k4](/packages/mlocati-spf-lib)[mika56/spfcheck

Checks an IP address against a domain's SPF record

451.1M7](/packages/mika56-spfcheck)[itinerisltd/wp-phpmailer

WP PHPMailer provides a clean and simple way to configure WordPress-bundled PHPMailer library, allowing you to quickly get started sending mail through a local or cloud based service of your choice.

6231.8k](/packages/itinerisltd-wp-phpmailer)

PHPackages © 2026

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