0.0.7 • Published 9 years ago

sendcloud-postman v0.0.7

Weekly downloads
4
License
MIT
Repository
-
Last release
9 years ago

README

sendcloud-postman is mostly for private use ( _ !)

example

two kinds of type is offerd:

  • forgetPassword
  • newRegister

usage

var Postman = require("sendcloud-postman");

type = 'forgetPassword'
apikey = 'xxxyyyxxxyyy'
sessionkey = 'xxyyxxyyxxyyxxyyxxyy'

postman = new Postman(type, apikey); // type and apikey

var mailObj = {
  to:'to@email.com',
  from: 'from@email.com',
  fromname: 'name',
  };
  
postman.send(mailObj, 'admin', sessionKey , 'http://localhost:8000', function (err) {
    if (err) {
        throw err;
    } else {
        console.log('finished');
    }
})
0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago