ICanBoogie
  • Documentation
  • API Reference
  • Mailer master
Namespaces
  • ICanBoogie
    • Mailer
      • Header
Classes
  • AddressList
  • BeforeMailEvent
  • FileDeliverer
  • Header
  • Hooks
  • MailDeliverer
  • Mailer
  • MailEvent
  • Message
  • MessagePart
Interfaces
  • Deliverer

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
Namespace: ICanBoogie\Mailer
Located at BeforeMailEvent.php

Methods summary

public __construct( mixed $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.


		
Mailer master – Check on GitHub – API documentation generated by ApiGen