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

madmimi-node

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

madmimi-node

A client for the mad mimi api

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-57.14%
Maintainers
0
Weekly downloads
 
Created
Source

Madmimi Client

A simple client wrapper to be able to send mails using the mad mimi api Developer api help

Usage

Using the library is quite straight forward, for a full example see the examples folder.

Installation

npm install madmimi-node

##Creating

var describe('madmimi');
var madmimi = new Madmimi("useremail","api-key");

##Send mail

var email_options = {
  promotion_name:"Test Promotion",
  recipient:"Jimi Hendrix <jimi@electricladyland.com>",
  subject:"Test Promotion",
  from:"no-reply@guitargear.com",
  raw_html:"<html><head><title>Great promotion!</title></head><body>Cool guitar stuff[[tracking_beacon]]</body></html>"
};

madmimi.sendMail(email_options, function (transaction_id) {
  console.log("Email transaction is: " + transaction_id)
});

##Email Status

madmimi.mailStatus("email_id", function (msg) {
  console.log("status: " + msg);
});

Todo

  • Add send to list
  • match ruby gem usage

Keywords

FAQs

Package last updated on 11 Feb 2011

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