The table below contains the email-related events, as well as the purpose of each event. If you want to execute actions based on email events, you can use any of the events mentioned below as an event interface.
Interface | Description |
---|---|
IPreEmailSent | The event interface allows apps to register as a handler of the This event is triggered before the mailer sends an email. To prevent the email from being sent, you can throw an error with a message specifying the reason for rejection. |