Class MailEvent
Event class for the <class>::mail
event.
Third parties may use this event to the result returned by the mailer.
-
ICanBoogie\Event
-
┗
ICanBoogie\Binding\Mailer\MailEvent
Methods summary
public
__construct( object $target
, ICanBoogie\Mailer\Message & $rc
, ICanBoogie\Mailer\Message & $message
, ICanBoogie\Mailer\Mailer & $mailer
)
The event is constructed with the type mail
.
The event is constructed with the type mail
.
Parameters
$target
- The sender of the message.
$rc
- $message Reference to the message about to be sent.
$message
- $mailer Reference to the mailer that will be used to send the message.
$mailer
Properties summary
public
$rc
: mixed
Reference to the result returned by the mailer.
Reference to the result returned by the mailer.
public
$message
: ICanBoogie\Mailer\Message
Reference to the message that was sent.
Reference to the message that was sent.
public
$mailer
: ICanBoogie\Mailer\Mailer
Reference to the mailer that was used to send the message.
Reference to the mailer that was used to send the message.