UNPKG

@c1x/nest-mailer

Version:

A flexible and easy-to-use mailer module for NestJS applications, supporting multiple email providers including SMTP, AWS SES, and SendGrid.

19 lines (18 loc) 405 B
interface MailTemplateOptions { template?: string; context?: any; } export interface MailOptions extends MailTemplateOptions { to: string | string[]; fromAddress: string; fromName: string; subject: string; text?: string; html?: string; attachments?: Array<{ filename: string; content: Buffer | string; contentType?: string; }>; } export {};