The default "from" email address.
The AWS region to use for sending emails.
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: stringThe optional sender of the email. If not provided, the default sender will be used.
OptionaloptionalReplyTo: stringThe optional reply-to address for the email.
OptionaloptionalAttachments: any[]The optional attachments to include
OptionaloptionalTransport: NodeMailerTransportOptionsSends 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: stringThe email address to send the email from.
OptionaloptionalReplyTo: stringThe email address to set as the reply-to address.
OptionaloptionalAttachments: any[]An array
OptionaloptionalTransport: NodeMailerTransportOptionsStaticrenderRenders 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.