Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Mailcontrol

Security covered Under active development 2,332 sites

Mailcontrol allows you to globally enable or disable default emails sent by Drupal, such as welcome and password recovery messages. This is useful for situations where you prefer to manage email sending externally or to prevent unnecessary emails during development.

Have full control over the default mails sent by Drupal 7 out of the box.

Description

This small module extends original Drupal 7 account settings page with the ability to globally turn ON/OFF all standard mails.
By default Drupal 7 provides no option to globally disable the following mails:

  • Welcome (new user created by administrator)
  • Welcome (awaiting approval)
  • Welcome (no approval required)
  • Password recovery

Use cases

This module may come in handy when:

  • you don't want to send those emails for some reason
  • or you are sending them through some other means
  • or to get rid of the PHP Mail error message when you’re working on localhost
  • or other development purposes

How to use

  1. download the module and place it under 'sites/all/modules/contrib' folder
    • with Drush use: drush dl mailcontrol
  2. enable the module from the modules page: 'admin/build/modules'
    • with Drush use: drush en mailcontrol -y
  3. configure the setting at the bottom of the page under
    'admin/config/people/accounts'

Versions

Drupal 7

This module provide only interface modifications.
The underlying functionality is already there by default in Drupal 7.

Drupal 8

There are discussions to have the ability to turn on welcome emails in D8 core.
See this issue for more details: #901518: Option to disable welcome emails and messages
If so, this module could continue in D8 to provide the ability to turn off
Account cancellation confirmation and Password recovery emails, I suppose, mainly for development purposes, if needed.

Sponsored by

Drupal 8–10 · not 11

Ask your assistant about Mailcontrol

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Apr 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
8.x-1.6 Stable 8–10 Apr 20, 2023