code: public static function notifyCommentsSubscribers(CommentsModel $objComment)
  	{
  		// Notified already
  		if ($objComment->notified)
  		{
  			return;
  		}
  
  		$objNotify = CommentsNotifyModel::findActiveBySourceAndParent($objComment->source, $objComment->parent);
  
  		if ($objNotify !== null)
  		{
  			while ($objNotify->next())
  			{
  				// Don't notify the commentor about his own comment
  				if ($objNotify->email == $objComment->email)
  				{
  					continue;
  				}
  
  				// Prepare the URL
  				$strUrl = Idna::decode(Environment::get('base')) . $objNotify->url;
  
  				$objEmail = new Email();
  				$objEmail->from = $GLOBALS['TL_ADMIN_EMAIL'];
  				$objEmail->fromName = $GLOBALS['TL_ADMIN_NAME'];
  				$objEmail->subject = sprintf($GLOBALS['TL_LANG']['MSC']['com_notifySubject'], Idna::decode(Environment::get('host')));
  				$objEmail->text = sprintf($GLOBALS['TL_LANG']['MSC']['com_notifyMessage'], $objNotify->name, $strUrl . '#c' . $objComment->id, $strUrl . '?token=' . $objNotify->tokenRemove);
  				$objEmail->sendTo($objNotify->email);
  			}
  		}
  
  		$objComment->notified = '1';
  		$objComment->save();
  	}
docs: Notify the subscribers of new comments
  
  @param CommentsModel $objComment