1.0.1 • Published 12 years ago

newsletter2go v1.0.1

Weekly downloads
17
License
-
Repository
-
Last release
12 years ago

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 params, console.log
1.0.1

12 years ago

1.0.0

12 years ago