newsletter2go

1.0.1 • Public • Published

newsletter2go.de api implementation written in coffee-script

newsletter2go.de is a german online newsletter software.

You can find the API documentation on the website.

Currently this implementation only implements the send mails functionality.

Feel free to contribute.

Usage

#!/usr/bin/env coffee 
Newsletter2Go = require './newsletter2go'
 
key = 'YOUR API KEY'
 
api = Newsletter2Go key
 
params =
    to: 'to@example.com'
    from: 'from@example.com'
    subject: 'subject line'
    html: '<h1>headline</h2><p>paragraph</p>'
    text: 'this is a testmail'
 
api.sendMail paramsconsole.log

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i newsletter2go

      Weekly Downloads

      2

      Version

      1.0.1

      License

      none

      Last publish

      Collaborators

      • mren