Title: Resonanz Email Rerouting
Author: Resonanz Digital
Published: <strong>26 d'agost de 2026</strong>
Last modified: 26 d'agost de 2026

---

Cerca extensions

![](https://s.w.org/plugins/geopattern-icon/resonanz-email-rerouting.svg)

# Resonanz Email Rerouting

 Per [Resonanz Digital](https://profiles.wordpress.org/resonanzdigital/)

[Baixa](https://downloads.wordpress.org/plugin/resonanz-email-rerouting.1.5.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/resonanz-email-rerouting/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/resonanz-email-rerouting/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/resonanz-email-rerouting/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/resonanz-email-rerouting/#developers)

 [Suport](https://wordpress.org/support/plugin/resonanz-email-rerouting/)

## Descripció

Resonanz Email Rerouting makes testing websites safer by rerouting outgoing emails
to a specific address based on the current environment (local, development, staging,
production), as defined by the `WP_ENVIRONMENT_TYPE` constant in your `wp-config.
php` file.

#### Features

 * Reroute emails based on `WP_ENVIRONMENT_TYPE`.
 * Enable or disable email rerouting on a per-environment basis.
 * Add domains to a whitelist to avoid rerouting mail sent to those domains.
 * Add one or more email addresses to which emails should be rerouted.
 * Grant different user roles access to the plugin settings.
 * Add a prefix to the subject line of rerouted emails.
 * Append a message to the body of rerouted emails.
 * Display a notification to the logged-in user when an email has been rerouted.
 * Enable or disable simple email logging, including a retention policy.
 * Easily export and import settings in JSON format.
 * Works with Gravity Forms and Contact Form 7.

## Instal·lació

 1. Configure the environment variable in `wp-config.php` (see FAQ below).
 2. Upload the entire `resonanz-email-rerouting` folder to the `/wp-content/plugins/`
    directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.

## PMF

### How do I set the environment variable?

You can set the environment variable in your `wp-config.php` file. Add a line like
the following:

    ```
    define('WP_ENVIRONMENT_TYPE', 'local');
    ```

For further information, see the WordPress documentation: https://developer.wordpress.
org/apis/wp-config-php/#wp-environment-type

### Does this plugin work with other email related plugins?

We cannot guarantee that this plugin will function as expected if you use other 
email-related plugins.

If you have a plugin that makes use of SMTP, you should probably disable it for 
this plugin to work correctly.

If you encounter specific issues, please let us know.

### Where can I find further help?

If you require assistance, feel free to email us at wordpress@resonanz-digital.at.

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Resonanz Email Rerouting» és programari de codi obert. La següent gent ha col·laborat
en aquesta extensió.

Col·laboradors

 *   [ Resonanz Digital ](https://profiles.wordpress.org/resonanzdigital/)

[Traduïu «Resonanz Email Rerouting» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/resonanz-email-rerouting)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/resonanz-email-rerouting/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/resonanz-email-rerouting/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/resonanz-email-rerouting/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/resonanz-email-rerouting/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.5.0

 * Hardened sanitization of saved settings: role permission keys are now validated
   against the roles WordPress actually offers.
 * Settings import now runs through the same sanitizer as the settings form, so 
   imported files can no longer store unsanitized values.
 * Prefixed the AJAX, admin-post and log-purge action names to avoid collisions 
   with other plugins.
 * Prefixed the email log meta keys. Existing logs are migrated automatically on
   upgrade.
 * Added nonce verification to both AJAX endpoints.
 * Fixed settings import rejecting every file. The uploaded file is now identified
   correctly.
 * Fixed settings import failing on Windows servers because the upload path was 
   altered before use.
 * Renamed an internal helper that shadowed WordPress core’s `sanitize_email()`.
 * Updated «Tested up to» for WordPress 7.1.

#### 1.4.0

 * Hardened input handling and output escaping throughout the plugin (Plugin Check
   compliance).
 * Fixed per-environment settings (whitelisted domains and reroute addresses) not
   being sanitized on save.
 * Fixed role capabilities lagging one save behind when permissions were changed.
 * Fixed the bundled German translation not loading (translation files renamed to
   match the text domain).
 * Added cleanup on deactivation (scheduled event) and uninstall (options, capability,
   and logged data).
 * Switched to safe redirects and `gmdate()`, and added a `readme.txt`.

#### 1.3.1

 * Fixed rerouted emails crashing when `wp_mail()` recipient, sender, subject, or
   message values were passed in non-string formats.

#### 1.3.0

 * Validation of entered email addresses in the WordPress backend.
 * Performance optimizations.

#### 1.2.5

 * Fixed a minor namespace issue that was causing an error when purging logs.

#### 1.2.4

 * Make sure post slug is not empty.
 * Some other minor code improvements.

#### 1.2.3

 * Added information to allow the plugin to be updated via Git Updater.

#### 1.2.2

 * First public release of the plugin.

## Meta

 *  Versió **1.5.0**
 *  Darrera actualització **fa 3 dies**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 6.0 o posterior **
 *  Provada fins a **7.1**
 *  Versió del PHP ** 8.0 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/resonanz-email-rerouting/)
 * Etiquetes
 * [development](https://ca.wordpress.org/plugins/tags/development/)[email](https://ca.wordpress.org/plugins/tags/email/)
   [rerouting](https://ca.wordpress.org/plugins/tags/rerouting/)[staging](https://ca.wordpress.org/plugins/tags/staging/)
   [testing](https://ca.wordpress.org/plugins/tags/testing/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/resonanz-email-rerouting/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[La vostra ressenya](https://wordpress.org/support/plugin/resonanz-email-rerouting/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/resonanz-email-rerouting/reviews/)

## Col·laboradors

 *   [ Resonanz Digital ](https://profiles.wordpress.org/resonanzdigital/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/resonanz-email-rerouting/)