Sabuj Kundu 20th Jun 2013

When a new user register moodle sends notification or confirmation email to user but admin doesn’t get any alert for this. There is a cool moodle documentation page for administration hacks which helps to send the self confirmation email to admin , check here:Send a duplicate of the registration email to the administrator.

But problem is admin get same thing as the user, here is how we can customized this for admin user only. Please note that here admin user is meant as support user. If you don’t know how to set support user account please go here
Setting Block : Site Administration -> Server -> Support Contact
Make sure you add the support name and support email address.

Here is how and what we need to do for a customized version of email to send to support email contact

Note: I am talking about moodle 2.0.x
Step 1. Open language file lang/en/moodle.php

line 538 , try to find with keyword “emailconfirmation”

$string['emailconfirmation'] = 'Hi {$a->firstname},

A new account has been requested at \'{$a->sitename}\'
using your email address.

To confirm your new account, please go to this web address:

{$a->link}

In most mail programs, this should appear as a blue link
which you can just click on. If that doesn\'t work,
then cut and paste the address into the address
line at the top of your web browser window.

If you need help, please contact the site administrator,
{$a->admin}';

Add the bellow code after this or check this gist here

https://gist.github.com/codeboxr/5820826

https://gist.github.com/manchumahara/856be4a65ccde2655c61d952066dd8b8

We offer Complete Moodle Development including Theming and Custom Solution.

Moodle Theme development