Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / services / agi / mailRpc / index.js
index de4168d..9a83e23 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbf1a=['request','then','error','message','result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','http'];(function(_0x333714,_0x3370ac){var _0x4c211e=function(_0x34219b){while(--_0x34219b){_0x333714['push'](_0x333714['shift']());}};_0x4c211e(++_0x3370ac);}(_0xbf1a,0x11c));var _0xabf1=function(_0x9618cc,_0x16cc5e){_0x9618cc=_0x9618cc-0x0;var _0x55a1f9=_0xbf1a[_0x9618cc];return _0x55a1f9;};'use strict';var BPromise=require(_0xabf1('0x0'));var jayson=require(_0xabf1('0x1'));var client=jayson[_0xabf1('0x2')][_0xabf1('0x3')]({'port':0x232b});function request(_0x8db232,_0x349fdd){return new BPromise(function(_0xb8088f,_0x5b8500){return client[_0xabf1('0x4')](_0x8db232,_0x349fdd)[_0xabf1('0x5')](function(_0x2f981e){if(_0x2f981e['error']){return _0x5b8500(_0x2f981e[_0xabf1('0x6')][_0xabf1('0x7')]);}else{return _0xb8088f(_0x2f981e[_0xabf1('0x8')]);}})[_0xabf1('0x9')](function(_0x147e72){return _0x5b8500(_0x147e72);});});}exports[_0xabf1('0xa')]=function(_0x360621,_0xa6f47c){return request(_0xabf1('0xb'),{'account':_0x360621,'message':_0xa6f47c});};
\ No newline at end of file
+var _0xc5d9=['http','request','then','error','message','result','SendMail','client'];(function(_0x447475,_0x5138ac){var _0x32b86f=function(_0x143dd6){while(--_0x143dd6){_0x447475['push'](_0x447475['shift']());}};_0x32b86f(++_0x5138ac);}(_0xc5d9,0x1df));var _0x9c5d=function(_0x16b72b,_0x2a2496){_0x16b72b=_0x16b72b-0x0;var _0x2a68fc=_0xc5d9[_0x16b72b];return _0x2a68fc;};'use strict';var BPromise=require('bluebird');var jayson=require('jayson/promise');var client=jayson[_0x9c5d('0x0')][_0x9c5d('0x1')]({'port':0x232b});function request(_0x461d77,_0xa7dc32){return new BPromise(function(_0x20036b,_0x43bba2){return client[_0x9c5d('0x2')](_0x461d77,_0xa7dc32)[_0x9c5d('0x3')](function(_0x39f984){if(_0x39f984[_0x9c5d('0x4')]){return _0x43bba2(_0x39f984[_0x9c5d('0x4')][_0x9c5d('0x5')]);}else{return _0x20036b(_0x39f984[_0x9c5d('0x6')]);}})['catch'](function(_0x4dbbae){return _0x43bba2(_0x4dbbae);});});}exports['sendMailMessage']=function(_0x11d710,_0x2b1c8d){return request(_0x9c5d('0x7'),{'account':_0x11d710,'message':_0x2b1c8d});};
\ No newline at end of file