yii\mail\MessageInterface::send PHP Méthode

send() public méthode

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.
Résultat boolean whether this message is sent successfully.
    public function send(MailerInterface $mailer = null);