sp-email

"Sends email using \"communication thrift service\"."

npm install sp-email
1 downloads in the last week
4 downloads in the last month

It is java script thrift client which connects to communication thrift service using TFrameProtocol.

To install sp-email, use [npm]:

$ npm install sp-email

Below is the list of other configurable options.

var communicationServiceConfig = { host: "localhost", port: 28002 }

Example


var email = require("sp-email");

Minimum options required to use it are enable, directory and fileName;
var logger = log.create({
                            host: "localhost",
                             port: 28002});

Sending email using sp-email

Outputs "Wed Aug 29 2012 16:15:56 GMT+0530 (IST) ERROR: This goes out to error.log

    Please give an example how to call sendEmail method.
npm loves you