easy-mail
v1.0.3
Published
can send email with pre defined template
Downloads
3
Readme
EmailJS(https://www.emailjs.com) provides us an easy way to send emails from client side.
Follow the docs to connect your email services and create the desired email templates.
This simple npm package provides the type definitions to access the library.
npm install easy-mail
Then in your typescript project:
import {easyEmail} from 'directory'
let em = new easyEmail.email()
let obj = {from_name:'jen',from_email:'njfnrnj',from_msg:'jbchrbf'};
em.send("email service name", "template name",obj, your user id)