Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / services / routing / mailRpc / index.js
index 556e0cc..fa03c96 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x814b=['bluebird','jayson/promise','client','http','request','then','error','result','catch','sendMailMessage','SendMail'];(function(_0x373f00,_0x25d9f4){var _0x359971=function(_0x4b464c){while(--_0x4b464c){_0x373f00['push'](_0x373f00['shift']());}};_0x359971(++_0x25d9f4);}(_0x814b,0x1a2));var _0xb814=function(_0x190c49,_0x103457){_0x190c49=_0x190c49-0x0;var _0x475b9a=_0x814b[_0x190c49];return _0x475b9a;};'use strict';var BPromise=require(_0xb814('0x0'));var jayson=require(_0xb814('0x1'));var client=jayson[_0xb814('0x2')][_0xb814('0x3')]({'port':0x232b});function request(_0xfbb64b,_0x477725){return new BPromise(function(_0x4a98af,_0x38c21a){return client[_0xb814('0x4')](_0xfbb64b,_0x477725)[_0xb814('0x5')](function(_0x4237bc){if(_0x4237bc[_0xb814('0x6')]){return _0x38c21a(_0x4237bc[_0xb814('0x6')]['message']);}else{return _0x4a98af(_0x4237bc[_0xb814('0x7')]);}})[_0xb814('0x8')](function(_0x5c8539){return _0x38c21a(_0x5c8539);});});}exports[_0xb814('0x9')]=function(_0x2913a6,_0x186d5a){return request(_0xb814('0xa'),{'account':_0x2913a6,'message':_0x186d5a});};
\ No newline at end of file
+var _0x297b=['catch','sendMailMessage','bluebird','jayson/promise','client','http','request','then','error','message','result'];(function(_0x593f0b,_0x244525){var _0x54a662=function(_0x3d0966){while(--_0x3d0966){_0x593f0b['push'](_0x593f0b['shift']());}};_0x54a662(++_0x244525);}(_0x297b,0xff));var _0xb297=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x297b[_0x59ee6f];return _0x4c0979;};'use strict';var BPromise=require(_0xb297('0x0'));var jayson=require(_0xb297('0x1'));var client=jayson[_0xb297('0x2')][_0xb297('0x3')]({'port':0x232b});function request(_0x5daef6,_0x27d433){return new BPromise(function(_0xb31f00,_0x18210e){return client[_0xb297('0x4')](_0x5daef6,_0x27d433)[_0xb297('0x5')](function(_0x417344){if(_0x417344[_0xb297('0x6')]){return _0x18210e(_0x417344['error'][_0xb297('0x7')]);}else{return _0xb31f00(_0x417344[_0xb297('0x8')]);}})[_0xb297('0x9')](function(_0x13db0b){return _0x18210e(_0x13db0b);});});}exports[_0xb297('0xa')]=function(_0x20f842,_0x5611ff){return request('SendMail',{'account':_0x20f842,'message':_0x5611ff});};
\ No newline at end of file