nodemailer#SendMailOptions TypeScript Examples
The following examples show how to use
nodemailer#SendMailOptions.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: mailer.service.ts From rest-api.ts with MIT License | 5 votes |
public async sendEmail(options: SendMailOptions): Promise<void> {
await this.initializeTransporter();
await MailerService.transporter.sendMail(options);
this.logger.log('INFO', `[MailerService] Send email to ${options.to}`);
}
Example #2
Source File: fakeMailer.service.ts From rest-api.ts with MIT License | 5 votes |
public async sendEmail(options: SendMailOptions): Promise<void> {}