@afriddev/emailservice
v1.2.7
Published
This will help to you send email to target email with various options
Downloads
14
Maintainers
Readme
emailservice
emailservice simplifies email integration in nodeJs, enabling users to send emails, facilitate OTP verification, Enhance your app's email functionality effortlessly.
Example
const emailservice = require('emailsevice');
async function sendEmail(){
const response = await emailservice({toEmail:"[email protected]",
title:"this is my title",
subject:"this is my subject",
body:"this is my body"
})
// you can pass fromEmail and passkey also if you want
console.log(response);
}
sendEmail();