New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gmail-service

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gmail-service

Using this library you can send mail easily with your gmail account credentials

latest
npmnpm
Version
0.0.7
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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");
    }
});

Keywords

gmail

FAQs

Package last updated on 12 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts