source/Application/Controller/ContactController.php
private function sendContactMail($email, $subject, $message)
    {
        $mailer = oxNew(Email::class);

        if ($mailer->sendContactMail($email, $subject, $message)) {
            $this->_blContactSendStatus = 1;
        } else {
            Registry::getUtilsView()->addErrorToDisplay('ERROR_MESSAGE_CHECK_EMAIL');
        }
    }
private function sendContactMail($email, $subject, $message)
    {
        $mailer = oxNew(Email::class);

        if ($mailer->sendContactMail($email, $subject, $message)) {
            $this->_blContactSendStatus = 1;
        } else {
            Registry::getUtilsView()->addErrorToDisplay('ERROR_MESSAGE_CHECK_EMAIL');
        }
    }
private function sendContactMail ( $ email , $ subject , $ message ) { $ mailer = oxNew ( Email :: class ) ; if ( $ mailer -> sendContactMail ( $ email , $ subject , $ message ) ) { $ this -> _blContactSendStatus = 1 ; } else { Registry :: getUtilsView ( ) -> addErrorToDisplay ( 'ERROR_MESSAGE_CHECK_EMAIL' ) ; } }
Send a contact mail.

@param string $email
@param string $subject
@param string $message
Send a contact mail .