It's possible in Drupal 8 disable all users notifications? New account, forgot password, etc

I'm using one external tool to send these emails and I don't need these notifications.


3 Answers 3


One of the easiest ways to make sure no emails are going out is to add

Mailcontrol (https://www.drupal.org/project/mailcontrol) which lets you specify what emails go out.


Maillog (https://www.drupal.org/project/maillog) which logs all emails and has an option to not send any emails to users. This will prevent all emails from leaving the system and log them if needed. It was designed to test sites but works well in this use case also.

Your other option is to go through and handle them one by one via code. There is no easy button inside of Drupal that will just turn off the service that I know of.

Sorry to just recommend a module, but given your needs this seems like a pretty obvious choice.

  • I'm currently using maillog (my preferred of the two) to prevent emails from going out that I handle via my decoupled React instance. Commented Oct 11, 2017 at 16:12
  • Hi Shawn, these modules don't are for Drupal 8. My web is in Drupal 8
    – javiregpa
    Commented Oct 11, 2017 at 16:20
  • Both have Drupal 8 versions. Mailcontrol - ftp.drupal.org/files/projects/mailcontrol-8.x-1.0.tar.gz Maillog - ftp.drupal.org/files/projects/maillog-8.x-1.x-dev.tar.gz Commented Oct 11, 2017 at 16:57
  • I'm currently using Maillog in a D8 environment. Its pretty far along for a dev release. Hope this helps @javiregpa. Commented Oct 11, 2017 at 16:59
  • Also mailsystem as mentioned by @kstack does the same thing as maillog, but appears to be further through its release cycle. It would probably be a better option if you are looking to log mail as well as prevent it from going out which is what it and maillog do. If you are looking to just turn it off I'd recommend mailcontrol. Commented Oct 11, 2017 at 17:06

You may want to use mailsystem module. mailsytem

Then goto Admin->Configuration->Mailsystem and select Mail Collector option in both Formatter and Sender .

This collect the mail within the drupal system without actually sending it.

More info: Mail Collector


Here is the comprehensive set of solutions for addressing this problem in Drupal 7 and Drupal 8

Managing mail handling for development or testing on a Drupal 7/8 Site

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.