Email - Event Interfaces

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.

InterfaceDescription

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.

Last updated

Rocket.Chat versions receive support for six months after release.