yes, and the other bit is in the _email_newuser.php
the whole thing:
$params = array(
'sitename' => $settings->site_name,
'fname' => $userdetails->fname,
'lname' => $userdetails->lname,
'email' => rawurlencode($userdetails->email),
);
$to = rawurlencode("my@email.com");
$subject = 'New Registration!';
$body = email_body('_email_newuser.php',$params);
email($to,$subject,$body);
the whole thing:
$params = array(
'sitename' => $settings->site_name,
'fname' => $userdetails->fname,
'lname' => $userdetails->lname,
'email' => rawurlencode($userdetails->email),
);
$to = rawurlencode("my@email.com");
$subject = 'New Registration!';
$body = email_body('_email_newuser.php',$params);
email($to,$subject,$body);