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
- Extends:
InjectableStrategy
send
property
(email: EmailDetails, options: EmailTransportOptions) => void | Promise<void>Uses the configured transport to send the generated email.
- Implements:
EmailSender
send
method
(email: EmailDetails, options: EmailTransportOptions) => Was this chapter helpful?