Skip to main content

EmailSender

An EmailSender is responsible for sending the email, e.g. via an SMTP connection or using some other mail-sending API. By default, the EmailPlugin uses the NodemailerEmailSender, but it is also possible to supply a custom implementation:

Example

Ts
Signature

send

property(email: EmailDetails, options: EmailTransportOptions) => void | Promise<void>

Uses the configured transport to send the generated email.

Signature

send

method(email: EmailDetails, options: EmailTransportOptions) =>
Was this chapter helpful?
Report Issue
Edited Feb 23, 2026ยทEdit this page