The default "from" email address.
The AWS region to use for sending emails.
Optionaloptions: MailerOptions = {}
Template lookup and rendering options.
None
Creates a new SMTP transporter for sending emails using NodeMailer.
The SMTP server host.
The port number to connect to the SMTP server.
The username for authentication with the SMTP server.
The password for authentication with the SMTP server.
Sends a raw email with the specified parameters.
The recipient(s) of the email.
The HTML content of the email.
The subject of the email.
OptionaloptionalCC: string | string[]
The optional CC recipient(s) of the email.
OptionaloptionalFrom: string
The optional sender of the email. If not provided, the default sender will be used.
OptionaloptionalReplyTo: string
The optional reply-to address for the email.
OptionaloptionalAttachments: any[]
The optional attachments to include
OptionaloptionalTransport: Transporter<SESSentMessageInfo>Sends a templated email to the specified recipients.
The email address(es) of the recipient(s).
The template(s) to use for the email.
The data to be used in the email template.
OptionaloptionalCC: string | string[]
The email address(es) to CC.
OptionaloptionalFrom: string
The email address to send the email from.
OptionaloptionalReplyTo: string
The email address to set as the reply-to address.
OptionaloptionalAttachments: any[]
An array
OptionaloptionalTransport: Transporter<SESSentMessageInfo>OptionaltemplateEngine: MailerTemplateEngine
Overrides the configured template engine.
StaticrenderRenders the given template with the provided data using the Email class.
The name or path of the template to render.
The data object to pass to the template.
Constructs a new instance of the EmailSender class.