Title: Disable Emails
Author: webaware
Published: <strong>18 فوریه 2014</strong>
Last modified: 13 ژانویه 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://fa.wordpress.org/plugins/disable-emails/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/disable-emails/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/disable-emails/#installation)
 * [توسعه](https://fa.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)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/disable-emails/), check
out the [SVN repository](https://plugins.svn.wordpress.org/disable-emails/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/disable-emails/)
by [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**
 *  Last updated **3 ماه پیش**
 *  نصب‌های فعال **40,000+**
 *  نگارش وردپرس ** 5.5 یا بالاتر **
 *  Tested up to **6.9.4**
 *  نگارش 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)
 * Tag
 * [disable emails](https://fa.wordpress.org/plugins/tags/disable-emails/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/disable-emails/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 20 5-ستاره     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/disable-emails/reviews/?filter=1)

[افزودن ارزیابی من](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)