Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When a new user registers, there's an email sent to the admin in the form:

Subject: Account details for [name] at [site name] (pending admin approval) Message: [Name] has applied for an account. [profile URL]

How can I remove this email alert? The reason being, that I've created a customised message triggered by the Apply for role module. Thanks.

share|improve this question
Which version of Drupal are you running? – msanford Nov 13 '12 at 18:06
Possibly dup of drupal.stackexchange.com/questions/3070/… – AyeshK Apr 25 '13 at 0:47
That one seems to refer to the e-mails sent to the registrants, not the site admins. – Johnathan Elmore Apr 29 '13 at 13:31

This email is not configurable via the UI.

You can use hook_mail_alter(), which will allow you to stop the sending of a message. So you would create a custom module that does this:

 * Implements hook_mail_alter().
function MODULE_NAME_mail_alter(&$message) {
  // Stop the default drupal email that goes out to admins when a user
  // registers on the site. An alternative email is sent out via other means.
  if ($message['key'] == 'register_pending_approval_admin') {
    $message['send'] = FALSE;
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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