Built motion from commit b5996064.|2.6.21
[motion2.git] / server / services / routing / mailRpc / index.js
index 6679e25..3c40610 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1e68=['catch','sendMailMessage','SendMail','bluebird','jayson/promise','http','request','error','result'];(function(_0x173441,_0x26b0d9){var _0x2423a8=function(_0x4d96c2){while(--_0x4d96c2){_0x173441['push'](_0x173441['shift']());}};_0x2423a8(++_0x26b0d9);}(_0x1e68,0xa5));var _0x81e6=function(_0x2ab06d,_0x346c84){_0x2ab06d=_0x2ab06d-0x0;var _0x41036d=_0x1e68[_0x2ab06d];return _0x41036d;};'use strict';var BPromise=require(_0x81e6('0x0'));var jayson=require(_0x81e6('0x1'));var client=jayson['client'][_0x81e6('0x2')]({'port':0x232b});function request(_0x4abcce,_0x19e1ab){return new BPromise(function(_0x2d552e,_0x3dbca3){return client[_0x81e6('0x3')](_0x4abcce,_0x19e1ab)['then'](function(_0x3f0eee){if(_0x3f0eee[_0x81e6('0x4')]){return _0x3dbca3(_0x3f0eee['error']['message']);}else{return _0x2d552e(_0x3f0eee[_0x81e6('0x5')]);}})[_0x81e6('0x6')](function(_0x19aa71){return _0x3dbca3(_0x19aa71);});});}exports[_0x81e6('0x7')]=function(_0x5dd58d,_0x1886d3){return request(_0x81e6('0x8'),{'account':_0x5dd58d,'message':_0x1886d3});};
\ 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