Class BeforeMailEvent
Event class for the <class>::mail:before event.
Third parties may use this event to alter the message or the mailer used to send the message.
- ICanBoogie\Event
- ┗ ICanBoogie\Mailer\BeforeMailEvent
Methods summary
public
__construct( mixed $target, ICanBoogie\Mailer\Message & $message, ICanBoogie\Mailer\Mailer & $mailer )
The event is constructed with the type mail:before.
Properties summary
public
$mailer
: ICanBoogie\Mailer\Mailer
Reference to the mailer that will be used to send the message.