**WPProAtoZ Email & IP Guardian** is a lightweight plugin designed for developers and site administrators who need to manage outgoing emails and site access in WordPress. With a simple settings page under “Settings” > “Email Control”, you can disable all emails sent via `wp_mail()` and restrict site access to specific IPs or IP ranges using `.htaccess`. Ideal for development, staging, or testing environments, this plugin prevents unwanted emails and unauthorized access with minimal configuration.
Key features:
– Disable all outgoing emails with a single checkbox.
– Customize the admin notice displayed when emails are disabled (default: “<strong>THIS DEV SITE HAS NO OUTGOING MAIL</strong> Mail from wp_mail() has been disabled for this site.”).
– Log blocked emails to debug.log when WP_DEBUG is enabled.
– Test email functionality with a built-in button.
– Restrict site access to allowed IPs or IP ranges via `.htaccess`.
– Dynamic IP management with add/remove functionality.
– Uses both `wp_mail` filter and `phpmailer_init` fallback for reliable email blocking.
No need to edit core files or `wp-config.php`—everything is managed through an intuitive settings page.