Title: Local Email Blocker
Author: Md Mostafizur Rahman
Published: <strong>4 d'agost de 2025</strong>
Last modified: 27 d'octubre de 2025

---

Cerca extensions

![](https://ps.w.org/local-email-blocker/assets/banner-772x250.png?rev=3338996)

![](https://ps.w.org/local-email-blocker/assets/icon-256×256.png?rev=3338996)

# Local Email Blocker

 Per [Md Mostafizur Rahman](https://profiles.wordpress.org/jahid32/)

[Baixa](https://downloads.wordpress.org/plugin/local-email-blocker.1.2.1.zip)

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

 [Suport](https://wordpress.org/support/plugin/local-email-blocker/)

## Descripció

**Local Email Blocker** is a lightweight WordPress plugin designed for developers
and staging environments. It prevents WordPress from sending actual emails, instead
intercepting them and storing them in your database for easy viewing. This is crucial
for local development and staging sites where you don’t want test emails to accidentally
reach real users.

**Features:**

 * **Automatic Blocking:** Automatically detects local development environments (
   localhost, .local, .test, .dev) and blocks emails.
 * **Manual Blocking:** Option to manually enable email blocking, perfect for staging
   sites.
 * **SMTP Override:** Can be configured to block emails even when an SMTP plugin
   is active, ensuring no emails escape.
 * **Email Log:** All intercepted emails are logged in the WordPress database, accessible
   via a dedicated admin page.
 * **View Email Details:** Easily view the full content, headers, and attachments
   of logged emails.
 * **Clear Log:** Option to clear all logged emails.
 * **SMTP Status Detection:** Provides information about your current SMTP configuration.

This plugin ensures that your development and staging processes are clean and free
from unintended email dispatches, while still allowing you to inspect what emails
would have been sent.

## Captures

[⌊Screenshot of the Email Log page.⌉⌊Screenshot of the Email Log page.⌉[

Screenshot of the Email Log page.

[⌊Screenshot of an individual email detail view.⌉⌊Screenshot of an individual email
detail view.⌉[

Screenshot of an individual email detail view.

[⌊Screenshot of the Email Blocker Settings page.⌉⌊Screenshot of the Email Blocker
Settings page.⌉[

Screenshot of the Email Blocker Settings page.

## Instal·lació

 1. **Upload:** Upload the `local-email-blocker` folder to the `/wp-content/plugins/`
    directory.
 2. **Activate:** Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. **Configure:** Go to `Email Blocker > Settings` to configure blocking options and
    view the email log.

## PMF

### How do I view blocked emails?

After activating the plugin, navigate to `Email Blocker > Email Log` in your WordPress
admin dashboard. All intercepted emails will be listed there.

### Can I use this plugin on a live production site?

While the plugin is primarily designed for development and staging environments,
it can be used on a live site if you explicitly want to block all outgoing emails
and log them. However, be cautious as this will prevent all legitimate emails (e.
g., password resets, order confirmations) from being sent to your users.

### What happens if I have an SMTP plugin installed?

By default, Local Email Blocker will block emails even if an SMTP plugin is configured,
especially if you enable the «Block Even With SMTP» option in settings. This ensures
complete control over email sending in your development environment.

## Ressenyes

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

### 󠀁[Awesome plugin](https://wordpress.org/support/topic/awesome-plugin-7507/)󠁿

 [Nicu Micle](https://profiles.wordpress.org/nicu_m/) 27 de maig de 2026

The plugin is lightweight, simple to set up, and works right out of the box. It’s
extremely helpful for local testing and development workflows. Really love how straightforward
and reliable it is.

 [ Llegiu tota la 1 ressenya ](https://wordpress.org/support/plugin/local-email-blocker/reviews/)

## Col·laboradors i desenvolupadors

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

Col·laboradors

 *   [ Md Mostafizur Rahman ](https://profiles.wordpress.org/jahid32/)

[Traduïu «Local Email Blocker» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/local-email-blocker)

### Interessats en el desenvolupament?

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

## Registre de canvis

#### 1.0.0

 * Initial release of Local Email Blocker.
 * Core functionality for intercepting and logging emails.
 * Basic admin interface for viewing logs.

## Meta

 *  Versió **1.2.1**
 *  Darrera actualització **fa 8 mesos**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 5.0 o posterior **
 *  Provada fins a **6.8.5**
 *  Versió del PHP ** 8.1 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/local-email-blocker/)
 * Etiquetes
 * [block](https://ca.wordpress.org/plugins/tags/block/)[development](https://ca.wordpress.org/plugins/tags/development/)
   [email](https://ca.wordpress.org/plugins/tags/email/)[log](https://ca.wordpress.org/plugins/tags/log/)
   [staging](https://ca.wordpress.org/plugins/tags/staging/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/local-email-blocker/advanced/)

## Valoracions

 5 sobre 5 estrelles.

 *  [  1 valoració de 5 estrelles     ](https://wordpress.org/support/plugin/local-email-blocker/reviews/?filter=5)
 *  [  0 valoracions de 4 estrelles     ](https://wordpress.org/support/plugin/local-email-blocker/reviews/?filter=4)
 *  [  0 valoracions de 3 estrelles     ](https://wordpress.org/support/plugin/local-email-blocker/reviews/?filter=3)
 *  [  0 valoracions de 2 estrelles     ](https://wordpress.org/support/plugin/local-email-blocker/reviews/?filter=2)
 *  [  0 valoracions de 1 estrelles     ](https://wordpress.org/support/plugin/local-email-blocker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/local-email-blocker/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/local-email-blocker/reviews/)

## Col·laboradors

 *   [ Md Mostafizur Rahman ](https://profiles.wordpress.org/jahid32/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

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