common/components/Mailer.php
public function sendCommentSpamRequestMail( $comment, $updatePath ) {

		$siteName		= $this->coreProperties->getSiteName();
		$fromEmail		= $this->mailProperties->getSenderEmail();
		$fromName		= $this->mailProperties->getSenderName();
		$contactEmail	= $this->mailProperties->getContactEmail();

		// Send Mail
		$this->getMailer()->compose( self::MAIL_COMMENT_SPAM_REQUEST, [ 'coreProperties' => $this->coreProperties, 'comment' => $comment, 'updatePath' => $updatePath ] )
			->setTo( $contactEmail )
			->setFrom( [ $fromEmail => "$fromName | $siteName" ] )
			->setSubject( "Spam Request | " . $this->coreProperties->getSiteName() )
			//->setTextBody( "heroor" )
			->send();
	}
public function sendCommentSpamRequestMail( $comment, $updatePath ) {

		$siteName		= $this->coreProperties->getSiteName();
		$fromEmail		= $this->mailProperties->getSenderEmail();
		$fromName		= $this->mailProperties->getSenderName();
		$contactEmail	= $this->mailProperties->getContactEmail();

		// Send Mail
		$this->getMailer()->compose( self::MAIL_COMMENT_SPAM_REQUEST, [ 'coreProperties' => $this->coreProperties, 'comment' => $comment, 'updatePath' => $updatePath ] )
			->setTo( $contactEmail )
			->setFrom( [ $fromEmail => "$fromName | $siteName" ] )
			->setSubject( "Spam Request | " . $this->coreProperties->getSiteName() )
			//->setTextBody( "heroor" )
			->send();
	}
public function sendCommentSpamRequestMail ( $ comment , $ updatePath ) { $ siteName = $ this -> coreProperties -> getSiteName ( ) ; $ fromEmail = $ this -> mailProperties -> getSenderEmail ( ) ; $ fromName = $ this -> mailProperties -> getSenderName ( ) ; $ contactEmail = $ this -> mailProperties -> getContactEmail ( ) ; // Send Mail $ this -> getMailer ( ) -> compose ( self :: MAIL_COMMENT_SPAM_REQUEST , [ 'coreProperties' => $ this -> coreProperties , 'comment' => $ comment , 'updatePath' => $ updatePath ] ) -> setTo ( $ contactEmail ) -> setFrom ( [ $ fromEmail => "$fromName | $siteName" ] ) -> setSubject ( "Spam Request | " . $ this -> coreProperties -> getSiteName ( ) ) //->setTextBody( "heroor" ) -> send ( ) ; }
The method sends mail for spam comment request by users from website.
The method sends mail for spam comment request by users from website .