Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / services / routing / mailRpc / index.js
index 0051995..fa03c96 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x92b6=['bluebird','jayson/promise','client','http','error','message','catch','sendMailMessage','SendMail'];(function(_0x58bad4,_0xd6e8d2){var _0x1d1bbc=function(_0x44570c){while(--_0x44570c){_0x58bad4['push'](_0x58bad4['shift']());}};_0x1d1bbc(++_0xd6e8d2);}(_0x92b6,0x171));var _0x692b=function(_0x49ed8e,_0x2d7099){_0x49ed8e=_0x49ed8e-0x0;var _0x5f16bb=_0x92b6[_0x49ed8e];return _0x5f16bb;};'use strict';var BPromise=require(_0x692b('0x0'));var jayson=require(_0x692b('0x1'));var client=jayson[_0x692b('0x2')][_0x692b('0x3')]({'port':0x232b});function request(_0x3b924a,_0x33061f){return new BPromise(function(_0x5a4701,_0x3a919e){return client['request'](_0x3b924a,_0x33061f)['then'](function(_0x34c96c){if(_0x34c96c[_0x692b('0x4')]){return _0x3a919e(_0x34c96c['error'][_0x692b('0x5')]);}else{return _0x5a4701(_0x34c96c['result']);}})[_0x692b('0x6')](function(_0x3d29f1){return _0x3a919e(_0x3d29f1);});});}exports[_0x692b('0x7')]=function(_0x993af0,_0x3db5ce){return request(_0x692b('0x8'),{'account':_0x993af0,'message':_0x3db5ce});};
\ No newline at end of file
+var _0x297b=['catch','sendMailMessage','bluebird','jayson/promise','client','http','request','then','error','message','result'];(function(_0x593f0b,_0x244525){var _0x54a662=function(_0x3d0966){while(--_0x3d0966){_0x593f0b['push'](_0x593f0b['shift']());}};_0x54a662(++_0x244525);}(_0x297b,0xff));var _0xb297=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x297b[_0x59ee6f];return _0x4c0979;};'use strict';var BPromise=require(_0xb297('0x0'));var jayson=require(_0xb297('0x1'));var client=jayson[_0xb297('0x2')][_0xb297('0x3')]({'port':0x232b});function request(_0x5daef6,_0x27d433){return new BPromise(function(_0xb31f00,_0x18210e){return client[_0xb297('0x4')](_0x5daef6,_0x27d433)[_0xb297('0x5')](function(_0x417344){if(_0x417344[_0xb297('0x6')]){return _0x18210e(_0x417344['error'][_0xb297('0x7')]);}else{return _0xb31f00(_0x417344[_0xb297('0x8')]);}})[_0xb297('0x9')](function(_0x13db0b){return _0x18210e(_0x13db0b);});});}exports[_0xb297('0xa')]=function(_0x20f842,_0x5611ff){return request('SendMail',{'account':_0x20f842,'message':_0x5611ff});};
\ No newline at end of file