send() public method
Sends this email message.
public boolean send ( yii\mail\MailerInterface $mailer = null ) | ||
---|---|---|
$mailer | yii\mail\MailerInterface |
The mailer that should be used to send this message. If no mailer is given it will first check if $mailer is set and if not, the "mail" application component will be used instead. |
return | boolean |
Whether this message is sent successfully. |
Please login to continue.