BeforeMessageSent

class OCP\Mail\Events\BeforeMessageSent
Emitted before a system mail is sent. It can be used to alter the message.
Source:lib/public/Mail/Events/BeforeMessageSent.php#38
Parent:OCP\EventDispatcher\Event

Properties

Methods

public OCP\Mail\Events\BeforeMessageSent::__construct($message)
Source:

lib/public/Mail/Events/BeforeMessageSent.php#47

Parameters:
Since:

19.0.0

public OCP\Mail\Events\BeforeMessageSent::getMessage()
Source:lib/public/Mail/Events/BeforeMessageSent.php#56
Returns:\OCP\Mail\IMessage
Since:19.0.0