Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / services / routing / mailRpc / index.js
index 1d271d5..71e14cd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb8ce=['catch','SendMail','jayson/promise','http','request','then','error','message','result'];(function(_0x2ed8c9,_0x529013){var _0x49930e=function(_0x2f7740){while(--_0x2f7740){_0x2ed8c9['push'](_0x2ed8c9['shift']());}};_0x49930e(++_0x529013);}(_0xb8ce,0x13d));var _0xeb8c=function(_0x12ca3b,_0x3e1ef5){_0x12ca3b=_0x12ca3b-0x0;var _0x3372d8=_0xb8ce[_0x12ca3b];return _0x3372d8;};'use strict';var BPromise=require('bluebird');var jayson=require(_0xeb8c('0x0'));var client=jayson['client'][_0xeb8c('0x1')]({'port':0x232b});function request(_0xf793be,_0x1d7d91){return new BPromise(function(_0x122061,_0x55d3ca){return client[_0xeb8c('0x2')](_0xf793be,_0x1d7d91)[_0xeb8c('0x3')](function(_0x11c5b7){if(_0x11c5b7['error']){return _0x55d3ca(_0x11c5b7[_0xeb8c('0x4')][_0xeb8c('0x5')]);}else{return _0x122061(_0x11c5b7[_0xeb8c('0x6')]);}})[_0xeb8c('0x7')](function(_0x161099){return _0x55d3ca(_0x161099);});});}exports['sendMailMessage']=function(_0x3ba01c,_0x3615dc){return request(_0xeb8c('0x8'),{'account':_0x3ba01c,'message':_0x3615dc});};
\ No newline at end of file
+var _0xafb5=['result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','request','then','error','message'];(function(_0x10a6bb,_0x1df243){var _0x572757=function(_0x37a445){while(--_0x37a445){_0x10a6bb['push'](_0x10a6bb['shift']());}};_0x572757(++_0x1df243);}(_0xafb5,0x72));var _0x5afb=function(_0x40ba00,_0x5bfc66){_0x40ba00=_0x40ba00-0x0;var _0x536c17=_0xafb5[_0x40ba00];return _0x536c17;};'use strict';var BPromise=require(_0x5afb('0x0'));var jayson=require(_0x5afb('0x1'));var client=jayson[_0x5afb('0x2')]['http']({'port':0x232b});function request(_0x216911,_0x35e710){return new BPromise(function(_0x11873d,_0x19fbe8){return client[_0x5afb('0x3')](_0x216911,_0x35e710)[_0x5afb('0x4')](function(_0x2b9362){if(_0x2b9362[_0x5afb('0x5')]){return _0x19fbe8(_0x2b9362[_0x5afb('0x5')][_0x5afb('0x6')]);}else{return _0x11873d(_0x2b9362[_0x5afb('0x7')]);}})[_0x5afb('0x8')](function(_0x569ab1){return _0x19fbe8(_0x569ab1);});});}exports[_0x5afb('0x9')]=function(_0x3f8822,_0x11d17c){return request(_0x5afb('0xa'),{'account':_0x3f8822,'message':_0x11d17c});};
\ No newline at end of file