Jump to content

Recommended Posts

Posted

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.

  • Moderators
Posted

Ok, after that add the following:

$email1 = 'the hr email';
Util::SendEmail($email1, $sub, $message); 

I have not tested it but it should work. Please let us know if it is ok. :)

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...