beforeSend() public method
This method is invoked right before mail send.
You may override this method to do last-minute preparation for the message. If you override this method, please make sure you call the parent implementation first.
public boolean beforeSend ( $message ) | ||
---|---|---|
$message | yii\mail\MessageInterface | |
return | boolean |
Whether to continue sending an email. |
Please login to continue.