1. Home
  2. Knowledge Base
  3. Uncanny LearnDash Toolkit
  4. Disable Emails

The Disable Emails module of the Uncanny LearnDash Toolkit, when activated, blocks all outgoing emails from your site.  This is useful on staging sites, or when developing or debugging features or functions that generate emails that you don’t want users to receive.

To disable emails, simply activate the module.  While emails are disabled, a handy reminder appears in your admin bar:

 

Sometimes you don’t want users to receive emails, but you still want to see what emails are being generated by your site.  In these cases, it’s helpful to have an email logging plugin such as Email Log installed.  While the Disable Emails module is active, no emails will be sent, but they will still be logged by the Email Log plugin.

Note:  This plugin will only block emails sent via WordPress’ wp_mail() function.  Almost all WordPress plugins use the wp_mail() function to send email, and we haven’t had any issues with emails getting through while the module is active.

Was this article helpful?

0 replies

Comments/Questions

Please note that this is not an official support channel and questions/comments may go unanswered.
To request support, log in to your account and click Submit a Request.

Leave a Reply

Your email address will not be published. Required fields are marked *