yii\mail\MessageInterface::send PHP Метод

send() публичный Метод

Sends this email message.
public send ( yii\mail\MailerInterface $mailer = null ) : boolean
$mailer yii\mail\MailerInterface the mailer that should be used to send this message. If null, the "mail" application component will be used instead.
Результат boolean whether this message is sent successfully.
    public function send(MailerInterface $mailer = null);