Built motion from commit e1760111.|2.6.18
[motion2.git] / server / services / routing / mailRpc / index.js
index 63fc0f5..9d4cc9a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x29d9=['http','request','error','bluebird','jayson/promise'];(function(_0x2fa434,_0x51a933){var _0x4d015f=function(_0x67441){while(--_0x67441){_0x2fa434['push'](_0x2fa434['shift']());}};_0x4d015f(++_0x51a933);}(_0x29d9,0x80));var _0x929d=function(_0x76c9d0,_0x133c1e){_0x76c9d0=_0x76c9d0-0x0;var _0x755691=_0x29d9[_0x76c9d0];return _0x755691;};'use strict';var BPromise=require(_0x929d('0x0'));var jayson=require(_0x929d('0x1'));var client=jayson['client'][_0x929d('0x2')]({'port':0x232b});function request(_0x1eee59,_0x42e6a3){return new BPromise(function(_0x579a52,_0x588e4f){return client[_0x929d('0x3')](_0x1eee59,_0x42e6a3)['then'](function(_0x3461d9){if(_0x3461d9[_0x929d('0x4')]){return _0x588e4f(_0x3461d9[_0x929d('0x4')]['message']);}else{return _0x579a52(_0x3461d9['result']);}})['catch'](function(_0x20c624){return _0x588e4f(_0x20c624);});});}exports['sendMailMessage']=function(_0x363633,_0x47f556){return request('SendMail',{'account':_0x363633,'message':_0x47f556});};
\ No newline at end of file
+var _0x2ea7=['sendMailMessage','SendMail','bluebird','jayson/promise','client','http','error','message','result','catch'];(function(_0xfee47a,_0x448287){var _0x9820c=function(_0x4a96c0){while(--_0x4a96c0){_0xfee47a['push'](_0xfee47a['shift']());}};_0x9820c(++_0x448287);}(_0x2ea7,0xe8));var _0x72ea=function(_0x123d3d,_0x114ea5){_0x123d3d=_0x123d3d-0x0;var _0x5707bf=_0x2ea7[_0x123d3d];return _0x5707bf;};'use strict';var BPromise=require(_0x72ea('0x0'));var jayson=require(_0x72ea('0x1'));var client=jayson[_0x72ea('0x2')][_0x72ea('0x3')]({'port':0x232b});function request(_0x3b222a,_0x43512e){return new BPromise(function(_0x5c47a5,_0x93286a){return client['request'](_0x3b222a,_0x43512e)['then'](function(_0x5c95b1){if(_0x5c95b1[_0x72ea('0x4')]){return _0x93286a(_0x5c95b1[_0x72ea('0x4')][_0x72ea('0x5')]);}else{return _0x5c47a5(_0x5c95b1[_0x72ea('0x6')]);}})[_0x72ea('0x7')](function(_0x5c3124){return _0x93286a(_0x5c3124);});});}exports[_0x72ea('0x8')]=function(_0x9b01e1,_0x4191af){return request(_0x72ea('0x9'),{'account':_0x9b01e1,'message':_0x4191af});};
\ No newline at end of file