UNPKG

emailer-kit

Version:

emailer-kit is a versatile and easy-to-use Node.js utility that simplifies email sending using Nodemailer. With a streamlined interface, it provides a set of functions to effortlessly send HTML emails, making it an ideal toolkit for integrating email func

15 lines (12 loc) 314 B
import { SentMessageInfo } from 'nodemailer'; interface IEmailerOptions { email: string; subject: string; htmlContent: string; file?: { path: string; name?: string; }; } declare const emailer: (emailerOptions: IEmailerOptions) => Promise<SentMessageInfo>; export { emailer };