Built motion from commit b5996064.|2.6.21
[motion2.git] / server / services / routing / mailRpc / index.js
index ae3a59f..3c40610 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x90e6=['jayson/promise','client','http','request','error','result','sendMailMessage','SendMail','bluebird'];(function(_0x173441,_0x26b0d9){var _0x2423a8=function(_0x4d96c2){while(--_0x4d96c2){_0x173441['push'](_0x173441['shift']());}};_0x2423a8(++_0x26b0d9);}(_0x90e6,0x1e5));var _0x690e=function(_0x5c6299,_0x11bd28){_0x5c6299=_0x5c6299-0x0;var _0x23b564=_0x90e6[_0x5c6299];return _0x23b564;};'use strict';var BPromise=require(_0x690e('0x0'));var jayson=require(_0x690e('0x1'));var client=jayson[_0x690e('0x2')][_0x690e('0x3')]({'port':0x232b});function request(_0x30b19d,_0x4f5791){return new BPromise(function(_0x15000b,_0x17510d){return client[_0x690e('0x4')](_0x30b19d,_0x4f5791)['then'](function(_0x92ebe6){if(_0x92ebe6[_0x690e('0x5')]){return _0x17510d(_0x92ebe6[_0x690e('0x5')]['message']);}else{return _0x15000b(_0x92ebe6[_0x690e('0x6')]);}})['catch'](function(_0x2d30f7){return _0x17510d(_0x2d30f7);});});}exports[_0x690e('0x7')]=function(_0x4aa6c6,_0x26aaf5){return request(_0x690e('0x8'),{'account':_0x4aa6c6,'message':_0x26aaf5});};
\ No newline at end of file
+var _0xb8ee=['request','then','message','result','catch','SendMail','jayson/promise','http'];(function(_0x20dc96,_0xe86391){var _0x3984ae=function(_0x2bbef6){while(--_0x2bbef6){_0x20dc96['push'](_0x20dc96['shift']());}};_0x3984ae(++_0xe86391);}(_0xb8ee,0x17e));var _0xeb8e=function(_0x58e8eb,_0x2ac0c7){_0x58e8eb=_0x58e8eb-0x0;var _0x168540=_0xb8ee[_0x58e8eb];return _0x168540;};'use strict';var BPromise=require('bluebird');var jayson=require(_0xeb8e('0x0'));var client=jayson['client'][_0xeb8e('0x1')]({'port':0x232b});function request(_0x3d6c97,_0x574f0a){return new BPromise(function(_0x9e3830,_0x225f76){return client[_0xeb8e('0x2')](_0x3d6c97,_0x574f0a)[_0xeb8e('0x3')](function(_0x4cef8b){if(_0x4cef8b['error']){return _0x225f76(_0x4cef8b['error'][_0xeb8e('0x4')]);}else{return _0x9e3830(_0x4cef8b[_0xeb8e('0x5')]);}})[_0xeb8e('0x6')](function(_0x1743e3){return _0x225f76(_0x1743e3);});});}exports['sendMailMessage']=function(_0x16f385,_0x53f4c8){return request(_0xeb8e('0x7'),{'account':_0x16f385,'message':_0x53f4c8});};
\ No newline at end of file