* @since 2.0 */ class MailEvent extends Event { /** * @var \yii\mail\MessageInterface mail message being send */ public $message; /** * @var boolean if message send was successful */ public $isSuccessful; /** * @var boolean whether to continue send. Event handlers of * [[\yii\mail\BaseMailer::EVENT_BEFORE_SEND]] may set this property to decide whether * to continue send or not. */ public $isValid = true; }