Steve Bartlett Posted June 10, 2014 Report Share Posted June 10, 2014 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. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 10, 2014 Moderators Report Share Posted June 10, 2014 Below this, there must be a Util sendmail function. Can you paste it here? Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 10, 2014 Author Report Share Posted June 10, 2014 Util::SendEmail($email, $sub, $message); Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted June 10, 2014 Moderators Report Share Posted June 10, 2014 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. Quote Link to comment Share on other sites More sharing options...
Steve Bartlett Posted June 10, 2014 Author Report Share Posted June 10, 2014 Okay, thank you very much Quote Link to comment Share on other sites More sharing options...
RocketRod Posted June 11, 2014 Report Share Posted June 11, 2014 I add a forwarder to my personal mailbox. Much simpler to me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.