source/Core/Email.php
protected function _sendMail()
    {
        $result = false;
        try {
            $result = parent::send();
        } catch (Exception $exception) {
            $ex = oxNew(\OxidEsales\Eshop\Core\Exception\StandardException::class);
            $ex->setMessage($exception->getMessage());
            if ($this->isDebugModeEnabled()) {
                throw $ex;
            } else {
                \OxidEsales\Eshop\Core\Registry::getLogger()->error($ex->getMessage(), [$ex]);
            }
        }

        return $result;
    }
protected function _sendMail()
    {
        $result = false;
        try {
            $result = parent::send();
        } catch (Exception $exception) {
            $ex = oxNew(\OxidEsales\Eshop\Core\Exception\StandardException::class);
            $ex->setMessage($exception->getMessage());
            if ($this->isDebugModeEnabled()) {
                throw $ex;
            } else {
                \OxidEsales\Eshop\Core\Registry::getLogger()->error($ex->getMessage(), [$ex]);
            }
        }

        return $result;
    }
protected function _sendMail ( ) { $ result = false ; try { $ result = parent :: send ( ) ; } catch ( Exception $ exception ) { $ ex = oxNew ( \ OxidEsales \ Eshop \ Core \ Exception \ StandardException :: class ) ; $ ex -> setMessage ( $ exception -> getMessage ( ) ) ; if ( $ this -> isDebugModeEnabled ( ) ) { throw $ ex ; } else { \ OxidEsales \ Eshop \ Core \ Registry :: getLogger ( ) -> error ( $ ex -> getMessage ( ) , [ $ ex ] ) ; } } return $ result ; }
Sends email via phpmailer.

@return bool
Sends email via phpmailer .