code: protected function sendAdminNotification($intId, $arrData)
  	{
  		$objEmail = new Email();
  		$objEmail->from = $GLOBALS['TL_ADMIN_EMAIL'];
  		$objEmail->fromName = $GLOBALS['TL_ADMIN_NAME'];
  		$objEmail->subject = sprintf($GLOBALS['TL_LANG']['MSC']['adminSubject'], Idna::decode(Environment::get('host')));
  
  		$strData = "\n\n";
  
  		// Add user details
  		foreach ($arrData as $k=>$v)
  		{
  			if ($k == 'password' || $k == 'tstamp' || $k == 'dateAdded')
  			{
  				continue;
  			}
  
  			$v = StringUtil::deserialize($v);
  
  			if ($k == 'dateOfBirth' && \strlen($v))
  			{
  				$v = Date::parse(Config::get('dateFormat'), $v);
  			}
  
  			$strData .= $GLOBALS['TL_LANG']['tl_member'][$k][0] . ': ' . (\is_array($v) ? implode(', ', $v) : $v) . "\n";
  		}
  
  		$objEmail->text = sprintf($GLOBALS['TL_LANG']['MSC']['adminText'], $intId, $strData . "\n") . "\n";
  		$objEmail->sendTo($GLOBALS['TL_ADMIN_EMAIL']);
  
  		$this->log('A new user (ID ' . $intId . ') has registered on the website', __METHOD__, TL_ACCESS);
  	}
docs: Send an admin notification e-mail
  
  @param integer $intId
  @param array   $arrData