A newsletter2go webservice wrapper
PHP
Permalink
Failed to load latest commit information.
src/christianklisch/newsletter2goapi update newsletter Mar 20, 2015
.gitignore code upload Feb 27, 2015
LICENSE Initial commit Feb 27, 2015
README.md doc + polish + new tag Mar 27, 2015
composer.json doc + polish + new tag Mar 27, 2015

README.md

Newsletter2Go API wrapper for PHP

This is a php plugin to send whitelisted e-mails via newsletter2go server.

Features:

  • Send whitelisted e-mails and newsletters
  • E-Mail or SMS
  • Usermanagement on server
  • Groupmanagement on server
  • Newslettermanagement on server

More

Installation and usage

You can install this newsletter2go wrapper by using composer:

    "require": {
        "christianklisch/newsletter2go-api-php": "v3.3.1"
    }

Setup and sending simple e-mail:

        // init with api-key
    $api = new \Newsletter2Go\Newsletter2GoService('1234567890abcdef');
    $api->setDebug(0);
    $api->setDefaultopentracking(0);
    $api->setDefaultlinktracking(0);

    $email = new \Newsletter2Go\Email();
    $email->setTo('you@myaddress.com');
    $email->setFrom('me@myaddress.com');
    $email->setSubject('Hello-Subject');
    $email->setText('Hello my friend');
    $email->setReply('me@myaddress.com');

    $res = $api->sendSingleMail($email);

Contributors

Copyright and license

Copyright 2015 Christian Klisch, released under the MIT license.