PHP Class yii\mail\MailEvent

By setting the [[isValid]] property, one may control whether to continue running the action.
Since: 2.0
Author: Mark Jebri ([email protected])
Inheritance: extends yii\base\Event
Show file Open project: yiisoft/yii2

Public Properties

Property Type Description
$isSuccessful if message was sent successfully.
$isValid whether to continue sending an email. Event handlers of [[\yii\mail\BaseMailer::EVENT_BEFORE_SEND]] may set this property to decide whether to continue send or not.
$message the mail message being send.

Property Details

$isSuccessful public property

if message was sent successfully.
public $isSuccessful

$isValid public property

whether to continue sending an email. Event handlers of [[\yii\mail\BaseMailer::EVENT_BEFORE_SEND]] may set this property to decide whether to continue send or not.
public $isValid

$message public property

the mail message being send.
public $message