1.0.6 • Published 5 years ago

zoho-node-mailer v1.0.6

Weekly downloads
12
License
ISC
Repository
-
Last release
5 years ago

####Zoho Node Mailer

#####Requirements

  1. Node.js v6 and above.
Uses

Step 1: Install zoho-node-mailer using below command

$ npm install zoho-node-mailer --save

Step 2: Setup your Zoho Transport, with your email and password.

const Emailer = require('zoho-node-mailer');

const credentials = {
    username: 'xyz@domain.com',
	password: 'password'
}
Emailer.UseZohoSMTPTransport(credentials)

var mailOptions = {
    from: 'xyz@domain.com',
    to: 'abc@gmail.com',
    subject: 'Hello, world',
    body: '<h1>This is body</h1>',
    bodyType: 'html'
};
var result = new Emailer.Email(mailOptions)

result.send(function(res){
    console.log(" response : ", res );
})
1.0.6

5 years ago

1.0.4

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