Can Drupal send an email to admin when a new user creates an account?

Comments

zakpet’s picture

I've been up and down this forum and this seems to be an ongoing issue. How do we setup Drupal to email the admin when a new user is created so that the admin can "approve" their account?

I have users creating accounts, receiving automatic working passwords and I don't get any emails or ways of approving their memberships.

Under settings I have it set to, "Visitors can create accounts but administrator approval is required."

Please help us.

huc’s picture

I've setup the Drupal site for our Multimedia user Group to do just that

  1. visitors requests a new account
  2. account is on hold pending admin approval
  3. email arrives to user confirming that
  4. email arrives to admin requesting the account be reviewed and activated

To do that, I did this:

  1. Adminster > Users > Configure
  2. Enabled: Visitors can create accounts but administrator approval is required
  3. I also customized the automated email text in the fields on that page to suit my particular needs and Saved the Configuration

Now, everyone who tries to signup receives an automated email that their request has been received but requires administrator approval before being activated. The Administrator receives an email with the user name of the person who applied.

If you haven't enabled the setting noted in (2) above then the administrator does not receive notification that an account has been setup.

To Approve their account, I do this:

  1. click the link in the automated email received by Admin
    That's simply a link to their user account but it can also be accessed from Admininstration > Users and clicking their name
  • change the Status from Blocked to Activated and Submit the changes
  • Optional (I do this as a courtesy on our low volume site): Click Contact tab next to users name and fire them a note saying their account has been activated
  • It's worth double checking:

    1. Administration > Settings
    2. Email Address:

    Make sure the address noted in (2) is setup and working correctly. I only mention the obvious since I forgot to create an email account with that address when setting up a site (it's easy to forget) :( I had also forgotten to setup an account for that address in my Email Client -- it had been a long day :) LOL

    Hope that helps
    Brian

    DocDJ-forum’s picture

    I would like to have a second person receive a copy of requests for an account. Is there a way to do that?

    regards,
    DJ

    Eric Scouten’s picture

    This is the correct setting ("Visitors can create accounts but administrator approval is required.").

    Is the site able to send any mail successfully? (i.e. is sendmail available on the server?)

    Is your e-mail address set correctly (see http://your.site.com/user/1/edit).

    --
    Eric Scouten Photography | www.ericscouten.com (Drupal powered!)
    Fine art prints from the world of nature