Efficient Email Control for WordPress Development
Stop Emails is a WordPress plugin designed to halt all outgoing emails generated by the platform. This functionality is particularly useful for developers who want to prevent emails from being sent during the development phase. By utilizing this plugin, any calls made to the wp_mail() function will fail silently, meaning WordPress will act as if the email was sent successfully, while no actual email is dispatched. This feature ensures a clean testing environment without the risk of sending unnecessary emails.
In addition to its primary function, Stop Emails provides an option to log all email attempts to the PHP error log through the admin menu under Settings > Stop Emails. This logging feature is disabled by default, allowing developers to enable it only when needed. However, it is important to note that emails sent using the PHP mail() function directly will not be affected by this plugin, emphasizing the necessity of using the recommended wp_mail() function for full efficacy.





