Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / agi / mailRpc / index.js
index 19d9f21..b733c22 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb7f7=['bluebird','jayson/promise','client','request','error','message','catch','sendMailMessage','SendMail'];(function(_0x58d9e0,_0x257e09){var _0x19f921=function(_0x52650f){while(--_0x52650f){_0x58d9e0['push'](_0x58d9e0['shift']());}};_0x19f921(++_0x257e09);}(_0xb7f7,0x1e6));var _0x7b7f=function(_0x1c0146,_0x3af081){_0x1c0146=_0x1c0146-0x0;var _0x4f680f=_0xb7f7[_0x1c0146];return _0x4f680f;};'use strict';var BPromise=require(_0x7b7f('0x0'));var jayson=require(_0x7b7f('0x1'));var client=jayson[_0x7b7f('0x2')]['http']({'port':0x232b});function request(_0x19b05a,_0x3760cf){return new BPromise(function(_0x3d2b8d,_0x50e5a7){return client[_0x7b7f('0x3')](_0x19b05a,_0x3760cf)['then'](function(_0x18e9a9){if(_0x18e9a9[_0x7b7f('0x4')]){return _0x50e5a7(_0x18e9a9[_0x7b7f('0x4')][_0x7b7f('0x5')]);}else{return _0x3d2b8d(_0x18e9a9['result']);}})[_0x7b7f('0x6')](function(_0x45e16d){return _0x50e5a7(_0x45e16d);});});}exports[_0x7b7f('0x7')]=function(_0x25a8cf,_0x228726){return request(_0x7b7f('0x8'),{'account':_0x25a8cf,'message':_0x228726});};
\ No newline at end of file
+var _0x3a9a=['result','catch','SendMail','bluebird','jayson/promise','client','request','then','error','message'];(function(_0x1ac4af,_0x456013){var _0x53ee46=function(_0x5c2298){while(--_0x5c2298){_0x1ac4af['push'](_0x1ac4af['shift']());}};_0x53ee46(++_0x456013);}(_0x3a9a,0x139));var _0xa3a9=function(_0x215e65,_0x183f97){_0x215e65=_0x215e65-0x0;var _0xa85842=_0x3a9a[_0x215e65];return _0xa85842;};'use strict';var BPromise=require(_0xa3a9('0x0'));var jayson=require(_0xa3a9('0x1'));var client=jayson[_0xa3a9('0x2')]['http']({'port':0x232b});function request(_0x55d21a,_0x2b0a1b){return new BPromise(function(_0x125632,_0x1dedaf){return client[_0xa3a9('0x3')](_0x55d21a,_0x2b0a1b)[_0xa3a9('0x4')](function(_0x3a4d40){if(_0x3a4d40[_0xa3a9('0x5')]){return _0x1dedaf(_0x3a4d40['error'][_0xa3a9('0x6')]);}else{return _0x125632(_0x3a4d40[_0xa3a9('0x7')]);}})[_0xa3a9('0x8')](function(_0x3ebcad){return _0x1dedaf(_0x3ebcad);});});}exports['sendMailMessage']=function(_0x3a3dd5,_0x393ea2){return request(_0xa3a9('0x9'),{'account':_0x3a3dd5,'message':_0x393ea2});};
\ No newline at end of file