Jump to content

Add HR e-mail to "user has registered"


Steve Bartlett

Recommended Posts

How can I change the code below, to also send to my HR guy so I don't have to forward it to him, but yet I still want to see them too.

// Registration email/show user is waiting for confirmation
$sub = 'A user has registered';
$message = "The user {$data['firstname']} {$data['lastname']} ({$data['email']}) has registered, and is awaiting confirmation.";

$email = Config::Get('EMAIL_NEW_REGISTRATION');
if(empty($email))
{
$email = ADMIN_EMAIL;

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...