An email trap that sends emails to the address of your choice. Built for use on staging or development environments, to stop WordPress or its plugins from sending emails out to anyone except the site administrator. Good for testing aspects of your WordPress site that rely emails being sent.
To use the plugin, simply activate it.
You can dynamically disable the plugin using the email_trap_enable filter.
- Upload the
email-trapfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Make sure the admin email address is one you have access to, so you can view the trapped emails.
Which address are emails redirected to?
Whichever one your site has in the “admin email” input of the Email Trap’s Options panel.
- Plugin now exists
- Fixing a bug with the default email_trap_enable value