Built motion from commit a8c4dd89.|2.6.33
[motion2.git] / server / services / agi / mailRpc / index.js
index a986975..d18aeb2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0369=['message','catch','SendMail','bluebird','jayson/promise','client','then','error'];(function(_0x7f4712,_0x112ee8){var _0x3fc48c=function(_0x89b4b7){while(--_0x89b4b7){_0x7f4712['push'](_0x7f4712['shift']());}};_0x3fc48c(++_0x112ee8);}(_0x0369,0xbb));var _0x9036=function(_0x1d887d,_0x3a2a64){_0x1d887d=_0x1d887d-0x0;var _0x4b5128=_0x0369[_0x1d887d];return _0x4b5128;};'use strict';var BPromise=require(_0x9036('0x0'));var jayson=require(_0x9036('0x1'));var client=jayson[_0x9036('0x2')]['http']({'port':0x232b});function request(_0x228889,_0x37819f){return new BPromise(function(_0xee2a70,_0x450ded){return client['request'](_0x228889,_0x37819f)[_0x9036('0x3')](function(_0x3f9f4a){if(_0x3f9f4a['error']){return _0x450ded(_0x3f9f4a[_0x9036('0x4')][_0x9036('0x5')]);}else{return _0xee2a70(_0x3f9f4a['result']);}})[_0x9036('0x6')](function(_0x2d1937){return _0x450ded(_0x2d1937);});});}exports['sendMailMessage']=function(_0x4bbee0,_0x59d757){return request(_0x9036('0x7'),{'account':_0x4bbee0,'message':_0x59d757});};
\ No newline at end of file
+var _0x6f07=['client','http','request','then','error','message','result','catch','bluebird'];(function(_0x38306c,_0x4f3df2){var _0x40a472=function(_0x1d08b5){while(--_0x1d08b5){_0x38306c['push'](_0x38306c['shift']());}};_0x40a472(++_0x4f3df2);}(_0x6f07,0x19d));var _0x76f0=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x6f07[_0x57b54c];return _0x59cc19;};'use strict';var BPromise=require(_0x76f0('0x0'));var jayson=require('jayson/promise');var client=jayson[_0x76f0('0x1')][_0x76f0('0x2')]({'port':0x232b});function request(_0x1addb6,_0x1fe603){return new BPromise(function(_0x418d96,_0x2e0721){return client[_0x76f0('0x3')](_0x1addb6,_0x1fe603)[_0x76f0('0x4')](function(_0x3e1be8){if(_0x3e1be8[_0x76f0('0x5')]){return _0x2e0721(_0x3e1be8[_0x76f0('0x5')][_0x76f0('0x6')]);}else{return _0x418d96(_0x3e1be8[_0x76f0('0x7')]);}})[_0x76f0('0x8')](function(_0x52a009){return _0x2e0721(_0x52a009);});});}exports['sendMailMessage']=function(_0x2f1be1,_0x3321a0){return request('SendMail',{'account':_0x2f1be1,'message':_0x3321a0});};
\ No newline at end of file