0.0.7 • Published 5 years ago

gmail-service v0.0.7

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

gmail-service

Node.js library for sending mail using gmail. It includes only send mail using your gmail address.

Setup

npm install gmail-service

Supported format

send only using gmail on any valid email address.

Usage

Simple expression.

let jsonParameter = {
    fromEmail : "youremail@gmail.com",
    password : "yourpassword", // case - sensitive
    toEmail : "sentemail@gmail.com",
    subject :"sample subject",    
    body:"<h1> Hello </h1>"  //you can use html as well as plain text into the body.
}
var response = mail.sendMailNotification(jsonParameter,function(error, response){
    if(error){
        console.log("LOG : ", error);
    }
    else{
        console.log("Success");
    }
});
0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago