1.0.0 • Published 12 years ago

coolsms v1.0.0

Weekly downloads
5
License
-
Repository
github
Last release
12 years ago

CoolSMS-node


Installation

or

Usage

var coolsms = require('coolsms');

coolsms({
  ssl: true,            // true | false
  user: 'username',     // CoolSMS username
  password: 'password', // CoolSMS password
  to: '01000000000',    // Recipient Phone Number
  from: '01000000000',  // Sender Phone Number
  text: 'Hello World!'  // Text to send
}, function(err, result) {
  // error message in String and result information in JSON
  if (err) {
    console.log(err);
  }
  console.log(body);
});