Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

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 Release date
8.x-1.6 Stable Apr 20, 2023