bae-message
===========

Message module for Bae Cloud Messaging.

Example
------
###
    // load Bae module
    var BaeMessage = require('bae-message');
    // initialize BaeMessage with key/secret/queue
    // You can find your key/secret at: [BAE Page](http://developer.baidu.com/bae/ref/key/)
    var bae = new BaeMessage({
      key : 'your key',
      secret : 'your secret',
      queue: 'queue ID'
    });
    
    // 
    // also support multiple to addresses
    // bae.mail('fromAddress', ['toaddress1', 'toaddress2'], 'subject', 'mail body');
    bae.mail('fromAddress', 'to', 'subject', 'mail body');
    
Known Issue
---
 * Can't set from address

TODO
---
 * Support other BAE Cloud services

bae-message [![Build Status](hthttps://github.com/pangwa/bae-message/edit/master/README.md#tps://travis-ci.org/pangwa/bae-message.png)](https://travis-ci.org/pangwa/bae-message)
===========

Message module for Bae Cloud Messaging.

Example
------
###
    // load Bae module
    var BaeMessage = require('bae-message');
    // initialize BaeMessage with key/secret/queue
    // You can find your key/secret at: [BAE Page](http://developer.baidu.com/bae/ref/key/)
    var bae = new BaeMessage({
      key : 'your key',
      secret : 'your secret',
      queue: 'queue ID'
    });
    
    // 
    // also support multiple to addresses
    // bae.mail('fromAddress', ['toaddress1', 'toaddress2'], 'subject', 'mail body');
    bae.mail('fromAddress', 'to', 'subject', 'mail body');
    
Known Issue
---
 * Can't set from address

TODO
---
 * Support other BAE Cloud services

Update Readme.md with Travis build status
Update Readme.md with Travis build status