send() public method
Sends the given email message.
This method will log a message about the email being sent. If $useFileTransport is true, it will save the email as a file under $fileTransportPath. Otherwise, it will call sendMessage() to send the email to its recipient(s). Child classes should implement sendMessage() with the actual email sending logic.
public boolean send ( $message ) | ||
---|---|---|
$message | yii\mail\MessageInterface |
Email message instance to be sent |
return | boolean |
Whether the message has been sent successfully |
Please login to continue.