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\Binding\Mailer\BeforeMailEvent
Methods summary
public
__construct( object $target
, ICanBoogie\Mailer\Message & $message
, ICanBoogie\Mailer\Mailer & $mailer
)
The event is constructed with the type mail:before
.
The event is constructed with the type mail:before
.
Parameters
$target
- The sender of the message.
$message
- Reference to the message about to be sent.
$mailer
- Reference to the mailer that will be used to send the message.
Properties summary
public
$message
: ICanBoogie\Mailer\Message
Reference to the message about to be sent.
Reference to the message about to be sent.
public
$mailer
: ICanBoogie\Mailer\Mailer
Reference to the mailer that will be used to send the message.
Reference to the mailer that will be used to send the message.