# Mail Control (Test Mode) for WordPress

> Stop all outgoing email, or send every email to one address instead. Ideal for staging and development sites. Part of Toggleworks, one plugin for the whole…

TW-EML-04 Email


Stop all outgoing email, or send every email to one address instead. Ideal for staging and development sites.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

Mail Control (Test Mode)

**Part number**
: TW-EML-04
**Section**
: [Email](https://togglework.app/features/email/)
**Settings**
: 3 (1 on/off)
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

A staging or development copy of a live site still has real customers’ email addresses. Without protection, testing a checkout or a form can email real people about orders that don’t exist.

### What it does

- Blocks all outgoing email, reporting it as sent so forms and checkouts keep working.
- Or redirects every email to one address of yours, with Cc and Bcc removed.
- Adds the original recipients to the subject, so you can see who it was meant for.

![Mail Control (Test Mode) settings screen in the Toggleworks WordPress plugin, showing Mode, Redirect to, Add the original recipients to the subject](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/email-mail-control.webp?v=1795524184)

The Mail Control (Test Mode) screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Switch it on as the first thing on any new staging or development copy.
2. Choose block, or redirect to your own address to test email content.

## What you can set

Switch Mail Control (Test Mode) on in Toggleworks → Email, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Mode
- Redirect to
- Add the original recipients to the subject

## Good to know

- Password-reset emails are blocked too in block mode. Use redirect mode if you need them on staging.
- Make sure it is off on the live site.

[Guide: WordPress not sending email? Here’s the fix](https://togglework.app/guides/wordpress-not-sending-email/)

## One less plugin to install

Mail Control (Test Mode) does a job people often install a separate plugin for:

- Stopping email on staging sitesOften done with WP Mail SMTP
- Stopping staging sites from emailing customersOften done with WP Staging

## Comes with 187 more parts

Mail Control (Test Mode) is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 5 Email parts](https://togglework.app/features/email/)

### People also look for it as

- disable email
- block
- staging
- test mode
- redirect
- catcher
- development
- mail trap

## Often switched on with it

- [Environment Indicator](https://togglework.app/features/interface/environment-indicator/) — TW-ADM-09 · Show a colored Local / Staging / Production badge in the admin bar so you always know which site you are editing. · 10 settings
- [Staging Protection](https://togglework.app/features/security/staging-protection/) — TW-SEC-16 · Hide the whole site behind a shared password for visitors who are not logged in. wp-admin and the login page keep working. · 8 settings
- [Staging Site](https://togglework.app/features/agency/staging/) — TW-AGY-10 · Create a private copy of this site in /staging to test updates and changes safely, then push the database back to live — or throw… · 1 setting
- [Email Log](https://togglework.app/features/email/email-log/) — TW-EML-02 · Keep a searchable record of every email WordPress sends, with delivery status, errors and one-click resend. · 3 settings
- [SMTP](https://togglework.app/features/email/smtp/) — TW-EML-05 · Send all WordPress email through an SMTP server (Gmail, Office 365, SendGrid, Mailgun, SES and more) instead of PHP mail(). · 12 settings
- [Block Editor Tweaks](https://togglework.app/features/content/editor-tweaks/) — TW-CNT-07 · Make the block editor calmer: skip the welcome guide and fullscreen mode, hide the block directory, core patterns and Openverse… · 8 settings

## Questions

**Is Mail Control (Test Mode) included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, Mail Control (Test Mode) among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does Mail Control (Test Mode) slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on Mail Control (Test Mode) only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try Mail Control (Test Mode) before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/email/mail-control/
