HI
I am new to Drupal, and want to develop my knowledge of it as it lokos pretty useful. Also a friend got in touch with me as I do a wee bit of web stuff, however never ventured into Drupal. I wasn't sure where to post this query, so apologies in advance if this is the inappropriate location.

The issue is, my friend has a site in which new users create an account. Once the account is created he is informed of the new registrant's Username but not of their registered email address. Is there a way we can set up the site to forward the new registrant's email address as well as the Username? Sorry this may be a really simple question, but I am very new and just starting to read about Drupal. I'm not even sure which version of Drupal he is using...

Comments

edrupal’s picture

You could try using the user register notify module

andydohd’s picture

Is there any way to see what the setup is at the moment? As mentioned he does seem to get the registrant's Username but not their email addresses when they sign up for a new account. Not being familiar with Drupal, I thought there may be some setting associated with the login page in the backend which may allow sending of the registrant's email as well as the Username.

Sorry for the lame questions, but totally new to this. I will have to do more reading on Drupal.

edrupal’s picture

I believe the body of this email is hard coded in the system (In the program user.module to be exact). Hence you need one of the contributed modules or rules to create a custom email.

andydohd’s picture

Please excuse my ignorance, but does this mean that I need to install a module in order to forward the registrant's email address?

tryitonce’s picture

no - triggers will do the job - it's a core module ...

tryitonce’s picture

Have a look at rules and triggers.

There you can tell Drupal to send an email for everything and anything to the webmaster or anyone if something has happened on the site with all the relevant details.

andydohd’s picture

Could you advise on where to find this? I am new to Drupal, and my friend's web designer is no longer around, so as I have a little experience he has asked me to try and sort this out. He has also been thinking of adding ecommerce to the site too, although I may post another thread for advise on how to do this too.

andydohd’s picture

It turns out they only had to click the New Applicants' profile details to find the email address. Many thanks.

tryitonce’s picture

yes, but why not set a trigger to get it forwarded ....

.../admin/rules/trigger/list - see examples
to add a new one - /admin/rules/trigger/add

the details are in tutorials all round - google for it ....

under
Rule elements

ON event User account has been created

+ Add a condition
DO
<action>Send a mail to an arbitrary mail address

+ Add an action

under Do fill in the details and add a message similar to this:

New Account with following data: [account:user] [account:mail] [account:reg-date]  
------------------
[account:site-name]