Email - Event Interfaces

Prev Next

The table below lists email-related events and their purposes. If you want to execute actions based on email events, you can use the event mentioned below as an event interface. For further details, you can refer to the Apps-Engine TypeScript definition.

Interface

Description

IPreEmailSent

The event interface allows apps to register as a handler of the IPreEmailSent event.

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.