public function sendPartnerRequestToManager(array $mailVars, $sendFrom, $sendTo)
    {

        $mailTemplate = $this->createMailTemplate('partner-request-manager', $mailVars);

        if (!empty($mailTemplate)) {
            $subject = $mailTemplate->getSubject();
            $bodyParams = ['bodyContent' => $mailTemplate->getBody()];

            $this->sendMessage($sendFrom, $sendTo, $subject, $bodyParams);
        }


    }
public function sendPartnerRequestToManager(array $mailVars, $sendFrom, $sendTo)
    {

        $mailTemplate = $this->createMailTemplate('partner-request-manager', $mailVars);

        if (!empty($mailTemplate)) {
            $subject = $mailTemplate->getSubject();
            $bodyParams = ['bodyContent' => $mailTemplate->getBody()];

            $this->sendMessage($sendFrom, $sendTo, $subject, $bodyParams);
        }


    }
public function sendPartnerRequestToManager ( array $ mailVars , $ sendFrom , $ sendTo ) { $ mailTemplate = $ this -> createMailTemplate ( 'partner-request-manager' , $ mailVars ) ; if ( ! empty ( $ mailTemplate ) ) { $ subject = $ mailTemplate -> getSubject ( ) ; $ bodyParams = [ 'bodyContent' => $ mailTemplate -> getBody ( ) ] ; $ this -> sendMessage ( $ sendFrom , $ sendTo , $ subject , $ bodyParams ) ; } }
Sends mail about partner request to manager
@param array $mailVars
@param $sendFrom
@param $sendTo
Sends mail about partner request to manager