zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
10 lines (9 loc) • 399 B
TypeScript
import type { EmailTemplates, MailOptions } from '../types/types';
import type { MailResponse } from '../types/interfaces';
import type { Transporter } from 'nodemailer';
export declare class EmailFactory {
protected emailTemplates: EmailTemplates;
protected transporter: Transporter;
constructor(emailTemplates: EmailTemplates);
send(options: MailOptions): Promise<MailResponse>;
}