Socket
Socket
Sign inDemoInstall

dynectemail

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynectemail

Read and write to DynECT Email REST API


Version published
Maintainers
1
Created
Source

dynectemail-node

Read and write DynECT Email.

Installation

npm install dynectemail

Usage

var DynectEmailNode = require('dynectemail').DynectEmailNode;

var dynectemail = new DynectEmailNode({
	apikey: 'apikey' //you can get this from the Integration page http://email.dynect.net/index.php?Page=Integration
	useragent: 'appname/vX.X MyApp' // optional. defaults to dynectemail-node.
});

Documentation

DynectEmailRequest

dynectemail.request(method, options, reqtype);

Returns a DynectEmailRequest instance.

Send request to DynECT Email. Requests automatically include the API key and are signed and/or sent via POST as described in the DynECT Email REST API documentation.

Methods:

Accepts any DynECT Email REST API method name, eg "reports/sent/count".

Options:

All options are passed through to DynectEmail with the exception of the following.

  • handlers

      Default event handlers to attach to the request object on creation.
    

Events:

  • success(json)

      JSON response from DynECT Email
    
  • error(error)

      An error returned by a transmission error.
    

Influences

Heavily drawn from jammus's lastfm-node
http://github.com/jammus/lastfm-node

FAQs

Package last updated on 06 Jan 2012

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