public function mailReviewer($to, $subject, $data)
    {
        $this->mail->send('blogify::mails.notifyReviewer', ['data' => $data], function($message) use ($to, $subject)
        {
            $message->to($to)->subject($subject);
        });
    }
public function mailReviewer($to, $subject, $data)
    {
        $this->mail->send('blogify::mails.notifyReviewer', ['data' => $data], function($message) use ($to, $subject)
        {
            $message->to($to)->subject($subject);
        });
    }
public function mailReviewer ( $ to , $ subject , $ data ) { $ this -> mail -> send ( 'blogify::mails.notifyReviewer' , [ 'data' => $ data ] , function ( $ message ) use ( $ to , $ subject ) { $ message -> to ( $ to ) -> subject ( $ subject ) ; } ) ; }
Send a notification mail to
the assigned reviewer

@param $to
@param $subject
@param $data
Send a notification mail to the assigned reviewer