I must have missed it but I have searched through the forms and notification modules to find a way to have an email sent to me when someone requests an account. Currently I have the account creation set up to where the account has to be approved. The only way for me to see if someone request one is to go to the admin->users page. I don't want to have to monitor that manually. This seems like a pretty basic use case so I am surprised I don't see an obvious way to implement it.

Comments

elf_cash’s picture

Are you running a cron job on a new user registration? Try running it manually to see if you receive the email, if you do, then you can set the job up to run however often you like.

bigvortex’s picture

Why should we need a cron job? The system fires off an email to the new user, why can't it fire off one to the admin?

lipcpro’s picture

Download and enable the rules, rules admin UI, and rules scheduler modules, set the permission to administer the module, and enable the trigger module. Go to /admin/settings/actions/manage and under the heading "Make a new advanced action available" select "send an email" and click "Create". Give the new action a description like "New user registration notification", set the recipient, subject and message. Then go to /admin/rules/trigger/add and give the new rule a sensible label, under "event" select "User has created a new account", give it a category if you like and click save changes. You don't have to add a condition or action to this as it will trigger the proper action. This setup works well for me but if you'd like an easier alternative take a look at the User Notify Register module.

HTH
lipcpro

bigvortex’s picture

I knew there had to be a module for that. I just couldn't find it with my search. Thanks for the info. I will try the easy path first and if that doesn't work I really appreciate you laying out the steps to implement it the other way.

lipcpro’s picture

forgot one step in the process, you have to assign the trigger.
Go to /admin/build/trigger/user and under "Trigger: After a user account has been created" choose action select the system/send email and click assign.

HTH
lipcpro

WorldFallz’s picture

I love the rules module, but you actually don't need it for this. Enable the core trigger module, setup an advanced action to email to the desired address, then setup a user trigger to fire when a new user account has been created and you'll receive the email as soon as the user requests the account. If you use the token module, you should be able to use tokens in the email for adding info.

bigvortex’s picture

Great! I just implemented this solution and it works perfect for my needs. I like this because it doesn't require installing another module. Thanks for all the feedback.

tobedeleted’s picture

when a user signs up for an account in the case where admin approval is required, an email gets automatically fired to the address given as the email address in admin/settings/site-information. This is in itself potentially a bit odd, as one might expect this email to go instead to the address for user 1.

So, if your case fits this, then simply ensure that any mails sent to the site information address reach your inbox and you are away.

frock’s picture

i did this - set up the trigger & the action ... registered a new test user ... no email notification; checked that i hadn't made a typo in the email address - no. waited a bit, still no email. what am i missing?

(it's a pretty huge gap that something like this is not already built in to the system.)

WorldFallz’s picture

Do you have cron configured properly? iirc, emails are sent with cron.

frock’s picture

as far as i'm aware, cron is configured properly; other stuff like group emails getting sent out are happening as they should.

where should i look to check this? (i find navigating the back-end pretty confusing)

dan.crouthamel’s picture

I'm trying to do this as well with just action/triggers/token, and not the user registration notification module. I'm getting emails, and sending something simple like this.

[user] has registered on the site.

[mail] - [account-url]

However, the tokens aren't being replaced :(

venusrising’s picture

I have the same issue with tokens not being replaced. Does anyone know how to fix this?

venusrising

dan.crouthamel’s picture

I haven't found a solution yet, although I haven't looked into it for a couple months now.

josvl’s picture

Thanks for the explanation. I've set this up in D7 and after experimenting I found it only seems to work when you use an email address in the action that is different from the email address that is configured for the site. Apparently the system refuses to send emails to itself...
But, well... it works.
Cheers,
Jos

computer_jin’s picture

Hello,

I have a question about receiving user registration email on role base.

like i have created two roles A & B.
and created two different paths using profile types module.
If user register from Role A Form, i want admin1@domain.com to receive new user registration notification.
And if user register from Role B form, admin2@domain.com should receive registration notification with user details.

Any idea how can i do this?

Regards,
Azh

--
Azhar uddin
Technical Lead
email : engr.azharuddin@gmail.com
skype : computer_jin