Local Email Blocker
Blocks outgoing emails in development environments and logs them for review.
Plugin info
Maintenance & Compatibility
Maintenance score
Actively maintained • Last updated 62 days ago
Is Local Email Blocker abandoned?
Likely maintained (last update 62 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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.
Installation
- Upload: Upload the
local-email-blockerfolder to the/wp-content/plugins/directory. - Activate: Activate the plugin through the ‘Plugins’ menu in WordPress.
- Configure: Go to
Email Blocker > Settingsto configure blocking options and view the email log.
Frequently Asked Questions
After activating the plugin, navigate to Email Blocker > Email Log in your WordPress admin dashboard. All intercepted emails will be listed there.
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.
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.
Review feed
Changelog
1.0.0
- Initial release of Local Email Blocker.
- Core functionality for intercepting and logging emails.
- Basic admin interface for viewing logs.


