Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / services / agi / mailRpc / index.js
index de4168d..40462bb 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 _0x0b9e=['bluebird','jayson/promise','client','http','request','then','error','message','result','catch','SendMail'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x0b9e,0x197));var _0xe0b9=function(_0x1dcf62,_0x4cb283){_0x1dcf62=_0x1dcf62-0x0;var _0x1e7542=_0x0b9e[_0x1dcf62];return _0x1e7542;};'use strict';var BPromise=require(_0xe0b9('0x0'));var jayson=require(_0xe0b9('0x1'));var client=jayson[_0xe0b9('0x2')][_0xe0b9('0x3')]({'port':0x232b});function request(_0x3e8594,_0x523629){return new BPromise(function(_0x22a18b,_0x1e0fc6){return client[_0xe0b9('0x4')](_0x3e8594,_0x523629)[_0xe0b9('0x5')](function(_0x4ba0f2){if(_0x4ba0f2[_0xe0b9('0x6')]){return _0x1e0fc6(_0x4ba0f2[_0xe0b9('0x6')][_0xe0b9('0x7')]);}else{return _0x22a18b(_0x4ba0f2[_0xe0b9('0x8')]);}})[_0xe0b9('0x9')](function(_0x5607e6){return _0x1e0fc6(_0x5607e6);});});}exports['sendMailMessage']=function(_0xa936fd,_0x292589){return request(_0xe0b9('0xa'),{'account':_0xa936fd,'message':_0x292589});};
\ No newline at end of file