Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-jango

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-jango

A javascript interface to the JangoMail service

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

#js-jango

Deprecation Notice

This package is no longer supported or maintained by the original author. Please use (https://www.npmjs.com/package/node-jangomail) instead.

##Overview

Node implementation of the JangoMail API (see http://api.jangomail.com/).

The library currently allows you to:

  • Send a mass email campaign
  • Pause a campaign
  • Resume a campaign
  • Cancel a campaign
  • Resend a campaign

##Example Usage

var SendMassEmail = require("js-jango").SendMassEmail;

var fieldNames = ["FirstName","LastName","EmailAddress"];
var testContacts = [ {FirstName: "Bryan", LastName: "Rockwood", EmailAddress: "bryan.rockwood@pollenware.com"} ];
var contactInfo = {"fieldNames" : fieldNames, "addresses" : testContacts};
var initData = {
    username : "username",
    password : "password",
    server : "api.jangomail.com",
    subject : "Howdy Ho, %%FirstName%%!",
    fromEmail : "node-jango@pollenware.com",
    fromName : "New JangoMail Node Interface",
    messagePlain : "Greetings %%FirstName%% %%LastName%%,\n\nThis is a test of the Node interface to JangoMail." +
            "Your email address is %%EmailAddress%%.  Have a great day!\n\n\n -- BaseJangoRequest (BJR) OUT!",
    contactInfo: contactInfo
};

var test = new SMJE.SendMassJangoEmail(initData);

test.sendToJango().then(function(res) {
    // Do crazy stuff with the return response.....
});

Installation

npm install js-jango

##Usage

##License

MIT https://github.com/C2FO/js-jango/raw/master/LICENSE

##Meta

FAQs

Package last updated on 20 Nov 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc