1.1.9 • Published 4 years ago

mail-free v1.1.9

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

mail-free

Send emails free and easy.

Rate on Openbase

mail-free is an email package that let's send emails any number of times and any numbber of pepole.

Get started

Install NPM dependency

npm install --save mail-free

Include

var mail=require('mail-free')

Login in your account

mail.login('Service','Sender mail address','Sender password');

Mail to reciever

mail.mail('Reciever mail address','Subject of mail','Body of the mail');

Common use case examples

Include

var mail=require('mail-free')

login

mail.login("Gmail","xyz@gmail.com","password@123");

mail

mail.mail('reciever@gmail.com',"Hello","How its going");

Response

Email sent: 250 2.0.0 OK  1603766622 s8sm100565pjn.46 - gsmtp
{ accepted: [ 'xyz@gmail.com' ],
  rejected: [],
  envelopeTime: 766,
  messageTime: 1459,
  messageSize: 251,
  response: '250 2.0.0 OK  1603766623 kk14sm95620pjb.47 - gsmtp',
  envelope: { from: 'sender@gmail.com', to: [ 'xyz@gmail.com' ] },
  messageId: '<e6914739-021e-9522-c39a-05df5fccef82@goorm>' }
Email sent: 250 2.0.0 OK  1603766623 kk14sm95620pjb.47 - gsmtp ^C

Service & Permission for Errors

Gmail

Use :

    service: 'Gmail',

Goto : 

    https://myaccount.google.com/lesssecureapps
    
Enable : 

    Allow less secure apps: ON
    
Goto :
     
     https://accounts.google.com/b/0/DisplayUnlockCaptcha
     
 Enable :
 
    Allow Acess

Yahoo

    service: 'Yahoo',

Goto : 

    https://login.yahoo.com/account/security

Enable : 

    Allow apps that use less secure sign in

Contribution

Very much appreciate any types of donation and support.

Code

mail-free follows github convention for contributions. Here are some steps:

  1. Fork the repo to your github account
  2. Checkout code from your github repo to your local machine.
  3. Make code changes and don't forget add related tests.
  4. Run npm test locally before pushing code back.
  5. Create a Pull Request on github.
  6. Code review and merge
  7. Changes will be published to NPM within next version.
1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago