Title: Disable Emails
Author: webaware
Published: <strong>شوبات 18, 2014</strong>
Last modified: ئەیلوول 6, 2026

---

گەڕان لە پێوەکراوەکان

![](https://ps.w.org/disable-emails/assets/icon-256x256.png?rev=2590619)

# Disable Emails

 لەلایەن [webaware](https://profiles.wordpress.org/webaware/)

[داگرتن](https://downloads.wordpress.org/plugin/disable-emails.1.8.3.zip)

 * [وردەکارییەکان](https://ku.wordpress.org/plugins/disable-emails/#description)
 * [پێداچوونەوەکان](https://ku.wordpress.org/plugins/disable-emails/#reviews)
 *  [دامەزراندن](https://ku.wordpress.org/plugins/disable-emails/#installation)
 * [گەشەپێدان](https://ku.wordpress.org/plugins/disable-emails/#developers)

 [پشتیوانی](https://wordpress.org/support/plugin/disable-emails/)

## وەسف

Stop a WordPress website from sending any emails using the standard [wp_mail()](https://codex.wordpress.org/Function_Reference/wp_mail)
function. No emails will be sent, not even for password resets or administrator 
notifications.

WordPress websites can send emails for a variety of reasons — e.g user registration,
password reset, enquiry form submission, e-commerce purchase — but sometimes you
don’t want it to send anything at all. Some reasons for disabling all emails:

 * demonstration websites that allow users to do things that normally send emails
 * development / test websites with live data that might email real customers
 * bulk-loading data into websites which might trigger emails
 * adding new sites into multisite installations

> NB: if you need to run this plugin on WordPress 5.4 or earlier, and must install
> manually from a .zip file, please install version 1.6.3 which you can [download from the Advanced page for the plugin](https://wordpress.org/plugins/disable-emails/advanced/).
> Since version 1.7.0, WordPress 5.5 or later is required.

### وەرگێڕانەکان

Many thanks to the generous efforts of our translators:

 * Chinese (zh-CN) — [Cai_Miao](https://profiles.wordpress.org/cai_miao) and [the Chinese translation team](https://translate.wordpress.org/locale/zh-cn/default/wp-plugins/disable-emails/)
 * Chinese (zh-TW) — [the Chinese (Taiwan) translation team](https://translate.wordpress.org/locale/zh-tw/default/wp-plugins/disable-emails/)
 * Czech (cs-CZ) — [Rudolf Klusal](http://www.klusik.cz/)
 * Dutch (nl_NL) — [the Dutch translation team](https://translate.wordpress.org/locale/nl/default/wp-plugins/disable-emails/)
 * English (en_CA) — [the English (Canadian) translation team](https://translate.wordpress.org/locale/en-ca/default/wp-plugins/disable-emails/)
 * English (en_GB) — [the English (UK) translation team](https://translate.wordpress.org/locale/en-gb/default/wp-plugins/disable-emails/)
 * French (fr_FR) — [the French translation team](https://translate.wordpress.org/locale/fr/default/wp-plugins/disable-emails/)
 * Korean (ko_KR) — [the Korean translation team](https://translate.wordpress.org/locale/ko/default/wp-plugins/disable-emails/)
 * Japanese (ja) — [Cai_Miao](https://profiles.wordpress.org/cai_miao) and [the Japanese translation team](https://translate.wordpress.org/locale/ja/default/wp-plugins/disable-emails/)
 * German (de-DE) — [Peter Harlacher](http://helvetian.io/)
 * Norwegian: Bokmål (nb-NO) — [neonnero](http://www.neonnero.com/)
 * Norwegian: Nynorsk (nn-NO) — [neonnero](http://www.neonnero.com/)
 * Russian (ru_RU) — [the Russian translation team](https://translate.wordpress.org/locale/ru/default/wp-plugins/disable-emails/)
 * Swedish (sv_SE) — [the Swedish translation team](https://translate.wordpress.org/locale/sv/default/wp-plugins/disable-emails/)

If you’d like to help out by translating this plugin, please [sign up for an account and dig in](https://translate.wordpress.org/projects/wp-plugins/disable-emails).

## دامەزراندن

 1. Either install automatically through the WordPress admin, or download the .zip 
    file, unzip to a folder, and upload the folder to your /wp-content/plugins/ directory.
    Read [Installing Plugins](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
    in the WordPress Codex for details.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Optional: from the WordPress admin, navigate to Settings > Disable Emails and click
    the “Activate must-use plugin” if you want the plugin to always be activated, no
    matter what.

## پهد

### Why am I still getting standard WordPress emails?

You probably have another plugin that adds its own implementation of the `wp_mail()`
function. Try disabling some plugins.

In some circumstances, enabling the must-use plugin from settings will fix this,
because must-use plugins load before other plugins.

### Standard WordPress emails have stopped, but some others still get sent

You probably have a plugin that is sending emails via some other method, like directly
using the PHP `mail()` function, or directly implementing an SMTP client. Not much
I can do about that…

### How does it work?

The plugin replaces the standard WordPress `wp_mail()` function with a function 
that sends no emails. Nada. Zip. Silence.

Behind the scenes, it creates a private copy of PHPMailer and allows the system 
to interact with it, but silently suppresses the functions that send emails. The
standard WordPress filter and action hooks are supported, so plugins that register
hooks for those will still function as normal. It just doesn’t actually send any
emails.

### Can I make it a must-use plugin?

Yes. Once you have activated the plugin, navigate to Settings > Disable Emails and
click the “Activate must-use plugin”. This will create a must-use plugin (mu-plugin)
that ensures that Disable Emails is always loaded. This can be especially useful
on development websites where the database is frequently refreshed from a live site
which _does not_ have Disable Emails activated.

NB: if you activate the must-use plugin on a multisite, it will stop emails on all
sites on the multisite! If you have multiple networks on your multisite, the must-
use plugin will stop emails on all networks.

### Contributions

 * [Translate into your preferred language](https://translate.wordpress.org/projects/wp-plugins/disable-emails)
 * [Fork me on GitHub](https://github.com/webaware/disable-emails)

## پێداچوونەوەکان

![](https://secure.gravatar.com/avatar/35314daa56602a02eb8470bb014971b2b9d090bb75b38792ac1399fb066a2650?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-41101/)󠁿

 [Marcos Nakamine](https://profiles.wordpress.org/marcosnakamine/) کانوونی یەکەم
4, 2025

Works

![](https://secure.gravatar.com/avatar/708dda211a826ca0c4e03fcb8e0739962daeabdfc1694323be34624bbc253575?
s=60&d=retro&r=g)

### 󠀁[Perfect, nothing fancy.](https://wordpress.org/support/topic/perfect-nothing-fancy/)󠁿

 [Uday Kokitkar](https://profiles.wordpress.org/uday17035/) ئایار 22, 2024

Just activate it and it works. No fancy popups, settings, begging for reviews, etc.

![](https://secure.gravatar.com/avatar/d72add6b21889fb6373922dd04eefb8c29f36800115e7298d18cc103a88d46d8?
s=60&d=retro&r=g)

### 󠀁[Great and Simple](https://wordpress.org/support/topic/great-and-simple-180/)󠁿

 [Menn](https://profiles.wordpress.org/mennstudio/) کانوونی یەکەم 1, 2023

This plugin helps a lot when you need to test or import and need to disable email
sending.

![](https://secure.gravatar.com/avatar/ce2eb91dc8f4041fd4b608807dd1ead4caa26f58a84014cfa939c9cd2d5a48b6?
s=60&d=retro&r=g)

### 󠀁[Works perfectly! Staging site peace of mind.](https://wordpress.org/support/topic/works-perfectly-staging-site-peace-of-mind/)󠁿

 [AJD](https://profiles.wordpress.org/ajd/) تشرینی دووەم 20, 2023

We needed to make sure that automatic emails do not go out to customers from a staging
site. In conjunction with an mail logging plugin, you can still see which emails
would have gone out, so also great for troubleshooting email processes. Install,
activate, done. Thank you!

![](https://secure.gravatar.com/avatar/b386455620084633756983fc57b321d21ecfcba3a1be005259e7fd0fc9c5fce6?
s=60&d=retro&r=g)

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-2129/)󠁿

 [Dani](https://profiles.wordpress.org/daniw42/) تشرینی دووەم 13, 2022

I've been using this Plugin a lot lately and it does a great job while also being
ridiculous easy.

![](https://secure.gravatar.com/avatar/80c838b93c23e1188834951292bef5eabd69d9f171f22841d643b94cc7970430?
s=60&d=retro&r=g)

### 󠀁[Great for our staging sites](https://wordpress.org/support/topic/great-for-our-staging-sites/)󠁿

 [Dave Loodts](https://profiles.wordpress.org/davelo/) حوزه‌یران 14, 2022

Great plugin that we use on our staging sites. Some sites use a pre-order plugi 
for WooCommerce, sending out mails when particular launch date is there. Of course,
we don't want the staging site to sent out mails. That's a no go.

 [ خوێندنەوەی 20 پێداچوونەوە ](https://wordpress.org/support/plugin/disable-emails/reviews/)

## بەشداربووان و گەشەپێدەران

“Disable Emails” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا
کردووە.

بەشداربووان

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

“Disable Emails” وەرگێڕدراوە بۆ 16 زمان. سوپاسی [وەرگێڕەکان](https://translate.wordpress.org/projects/wp-plugins/disable-emails/contributors)
دەکەین بۆ بەشداریکردنیان.

[“Disable Emails” وەربگێڕە بۆ زمانەکەی خۆت.](https://translate.wordpress.org/projects/wp-plugins/disable-emails)

### دەتەوێت بەشداربیت لە گەشەپێدان؟

[گەڕان لە کۆدەکەدا بکە](https://plugins.trac.wordpress.org/browser/disable-emails/)،
سەیری [تەمارگەی (SVN)](https://plugins.svn.wordpress.org/disable-emails/) بکە، یان
بەشداربە لە [ڕووداوتۆماری گەشەپێدان](https://plugins.trac.wordpress.org/log/disable-emails/)
لە ڕێگەی [(RSS)](https://plugins.trac.wordpress.org/log/disable-emails/?limit=100&mode=stop_on_copy&format=rss).

## ڕووداوتۆمارگەریی گۆڕین

The full changelog can be found [on GitHub](https://github.com/webaware/disable-emails/blob/master/changelog.md).
Recent entries:

### 1.8.3

Released 2026-01-13

 * fixed: handle a non-array return from `wp_mail` filter hook

## مێتا

 *  وەشان **1.8.3**
 *  دوایین بەڕۆژکردنەوە **3 حەفتە لەمەوبەر**
 *  دامەزراندنی چالاک **30,000+**
 *  وەشانی وۆردپرێس ** 5.5 یان بەرزتر **
 *  تاقیکراوەتەوە تا **7.1.2**
 *  وەشانی PHP ** 5.6 یان بەرزتر **
 *  زمانەکان
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/disable-emails/)، [Dutch](https://nl.wordpress.org/plugins/disable-emails/)،
   [English (Australia)](https://en-au.wordpress.org/plugins/disable-emails/)، [English (Canada)](https://en-ca.wordpress.org/plugins/disable-emails/)،
   [English (New Zealand)](https://en-nz.wordpress.org/plugins/disable-emails/)،
   [English (South Africa)](https://en-za.wordpress.org/plugins/disable-emails/)،
   [English (UK)](https://en-gb.wordpress.org/plugins/disable-emails/)، [English (US)](https://wordpress.org/plugins/disable-emails/)،
   [French (France)](https://fr.wordpress.org/plugins/disable-emails/)، [Japanese](https://ja.wordpress.org/plugins/disable-emails/)،
   [Korean](https://ko.wordpress.org/plugins/disable-emails/)، [Polish](https://pl.wordpress.org/plugins/disable-emails/)،
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/disable-emails/)، [Russian](https://ru.wordpress.org/plugins/disable-emails/)،
   [Spanish (Chile)](https://cl.wordpress.org/plugins/disable-emails/)، [Spanish (Spain)](https://es.wordpress.org/plugins/disable-emails/)،
   و [Swedish](https://sv.wordpress.org/plugins/disable-emails/).
 *  [وەریبگێڕە بۆ زمانەکەی خۆت](https://translate.wordpress.org/projects/wp-plugins/disable-emails)
 * تاگ
 * [disable emails](https://ku.wordpress.org/plugins/tags/disable-emails/)
 *  [بینینی پێشکەوتوو](https://ku.wordpress.org/plugins/disable-emails/advanced/)

## هەڵسەنگاندنەکان

 5 out of 5 stars.

 *  [  20 5-star reviews     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/disable-emails/reviews/#new-post)

[بینینی هەموو پێداچوونەوەکان](https://wordpress.org/support/plugin/disable-emails/reviews/)

## بەشداربووان

 *   [ webaware ](https://profiles.wordpress.org/webaware/)

## پشتیوانی

هیچت هەیە بۆ وتن؟ پێویستت بە یارمەتییە؟

 [بینینی مەکۆی پاڵپشتی](https://wordpress.org/support/plugin/disable-emails/)

## ببەخشە

دەتەوێت پشتگیریی بەرەوپێشچوونی ئەم پێوەکراوە بکەیت؟

 [ ببەخشە بەم پێوەکراوە ](https://shop.webaware.com.au/donations/?donation_for=Disable+Emails)