UNPKG

@jubayer_shuvo/mailer-js

Version:

A lightweight and easy-to-use Node.js mailer utility supporting TypeScript and JavaScript.

11 lines (10 loc) 240 B
type SendMailOptions = { apiKey: string; to: string; subject: string; text: string; }; declare function sendMail({ apiKey, to, subject, text, }: SendMailOptions): Promise<{ success: boolean; }>; export default sendMail;