2.0.1 • Published 3 years ago

easymails v2.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

Send emails faster This package is based on nodemailer

Installation

To install easymails use:

npm i easymails

Usage

Just create new easymails and use it quickly If you are creating mailer in known service e.g. Gmail

//Require easymails
var EasyMail = require('easymails')

//Create mailer
var mailer = new EasyMail('gmail', 'myMail@gmail.com', 'myPassword')
//Send email
mailer.sendMail('myFriend@mail.com', 'New mail', 'This is my new mail')

Or if you want to create mailer in custom service

//Require easymails
var EasyMail = require('easymails')

//Create mailer in custom service
var mailer = new EasyMail('custom', 'myMail@gmail.com', 'myPassword', "smtp.mysmtp.com", 123)
//Send email
mailer.sendMail('myFriend@mail.com', 'New mail', 'This is my new mail')
2.0.1

3 years ago

2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago