Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / routing / mailRpc / index.js
index 763c959..992189e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x052d=['http','request','then','error','message','sendMailMessage','SendMail','bluebird','client'];(function(_0x1d006a,_0x2812b5){var _0x20a76b=function(_0x15953f){while(--_0x15953f){_0x1d006a['push'](_0x1d006a['shift']());}};_0x20a76b(++_0x2812b5);}(_0x052d,0xdf));var _0xd052=function(_0x9ab669,_0x47e7d3){_0x9ab669=_0x9ab669-0x0;var _0x44f075=_0x052d[_0x9ab669];return _0x44f075;};'use strict';var BPromise=require(_0xd052('0x0'));var jayson=require('jayson/promise');var client=jayson[_0xd052('0x1')][_0xd052('0x2')]({'port':0x232b});function request(_0x2f2e4c,_0x18410b){return new BPromise(function(_0x52d5a7,_0x595530){return client[_0xd052('0x3')](_0x2f2e4c,_0x18410b)[_0xd052('0x4')](function(_0x36708b){if(_0x36708b[_0xd052('0x5')]){return _0x595530(_0x36708b['error'][_0xd052('0x6')]);}else{return _0x52d5a7(_0x36708b['result']);}})['catch'](function(_0x421361){return _0x595530(_0x421361);});});}exports[_0xd052('0x7')]=function(_0x57be75,_0x527772){return request(_0xd052('0x8'),{'account':_0x57be75,'message':_0x527772});};
\ No newline at end of file
+var _0xaf01=['catch','sendMailMessage','SendMail','bluebird','jayson/promise','http','request','then','error'];(function(_0x205db5,_0x5ae499){var _0x530649=function(_0x28a350){while(--_0x28a350){_0x205db5['push'](_0x205db5['shift']());}};_0x530649(++_0x5ae499);}(_0xaf01,0xc0));var _0x1af0=function(_0x49b207,_0x408ade){_0x49b207=_0x49b207-0x0;var _0x2dc8fa=_0xaf01[_0x49b207];return _0x2dc8fa;};'use strict';var BPromise=require(_0x1af0('0x0'));var jayson=require(_0x1af0('0x1'));var client=jayson['client'][_0x1af0('0x2')]({'port':0x232b});function request(_0x3f51cf,_0xd24604){return new BPromise(function(_0x4b2cce,_0x49cbd2){return client[_0x1af0('0x3')](_0x3f51cf,_0xd24604)[_0x1af0('0x4')](function(_0x47b680){if(_0x47b680[_0x1af0('0x5')]){return _0x49cbd2(_0x47b680['error']['message']);}else{return _0x4b2cce(_0x47b680['result']);}})[_0x1af0('0x6')](function(_0x124a92){return _0x49cbd2(_0x124a92);});});}exports[_0x1af0('0x7')]=function(_0x57aca7,_0x31dffd){return request(_0x1af0('0x8'),{'account':_0x57aca7,'message':_0x31dffd});};
\ No newline at end of file