yii\mail\BaseMailer::sendMessage PHP Méthode

sendMessage() abstract protected méthode

This method should be implemented by child classes with the actual email sending logic.
abstract protected sendMessage ( yii\mail\MessageInterface $message ) : boolean
$message yii\mail\MessageInterface the message to be sent
Résultat boolean whether the message is sent successfully
    protected abstract function sendMessage($message);