Built motion from commit c0cdc9d8.|2.6.28
[motion2.git] / server / services / agi / mailRpc / index.js
index 7379ba8..53e9540 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1dc0=['result','catch','sendMailMessage','SendMail','jayson/promise','client','http','request','then','error','message'];(function(_0x2bc4ac,_0x557547){var _0x4099eb=function(_0x6ac4f1){while(--_0x6ac4f1){_0x2bc4ac['push'](_0x2bc4ac['shift']());}};_0x4099eb(++_0x557547);}(_0x1dc0,0x19b));var _0x01dc=function(_0x1b790d,_0x5e190e){_0x1b790d=_0x1b790d-0x0;var _0x2faa59=_0x1dc0[_0x1b790d];return _0x2faa59;};'use strict';var BPromise=require('bluebird');var jayson=require(_0x01dc('0x0'));var client=jayson[_0x01dc('0x1')][_0x01dc('0x2')]({'port':0x232b});function request(_0x985863,_0x18bc82){return new BPromise(function(_0x44d498,_0x453444){return client[_0x01dc('0x3')](_0x985863,_0x18bc82)[_0x01dc('0x4')](function(_0x4ca5f4){if(_0x4ca5f4['error']){return _0x453444(_0x4ca5f4[_0x01dc('0x5')][_0x01dc('0x6')]);}else{return _0x44d498(_0x4ca5f4[_0x01dc('0x7')]);}})[_0x01dc('0x8')](function(_0x2a9582){return _0x453444(_0x2a9582);});});}exports[_0x01dc('0x9')]=function(_0x4f9f7d,_0x3cde98){return request(_0x01dc('0xa'),{'account':_0x4f9f7d,'message':_0x3cde98});};
\ No newline at end of file
+var _0x7fce=['result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','client','http','then','error','message'];(function(_0x5b3fb5,_0xdbf661){var _0x3113d9=function(_0x15a34e){while(--_0x15a34e){_0x5b3fb5['push'](_0x5b3fb5['shift']());}};_0x3113d9(++_0xdbf661);}(_0x7fce,0x9e));var _0xe7fc=function(_0x4eb2c9,_0x4af956){_0x4eb2c9=_0x4eb2c9-0x0;var _0x4f6588=_0x7fce[_0x4eb2c9];return _0x4f6588;};'use strict';var BPromise=require(_0xe7fc('0x0'));var jayson=require(_0xe7fc('0x1'));var client=jayson[_0xe7fc('0x2')][_0xe7fc('0x3')]({'port':0x232b});function request(_0x15db28,_0x492d93){return new BPromise(function(_0x3e7342,_0x12c2e3){return client['request'](_0x15db28,_0x492d93)[_0xe7fc('0x4')](function(_0x1e72b5){if(_0x1e72b5[_0xe7fc('0x5')]){return _0x12c2e3(_0x1e72b5[_0xe7fc('0x5')][_0xe7fc('0x6')]);}else{return _0x3e7342(_0x1e72b5[_0xe7fc('0x7')]);}})[_0xe7fc('0x8')](function(_0x45aed1){return _0x12c2e3(_0x45aed1);});});}exports[_0xe7fc('0x9')]=function(_0x10d6f3,_0xfb0278){return request(_0xe7fc('0xa'),{'account':_0x10d6f3,'message':_0xfb0278});};
\ No newline at end of file