Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / services / routing / mailRpc / index.js
index fa03c96..20ea0f4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0xf066=['client','http','error','result','SendMail','bluebird','jayson/promise'];(function(_0x349941,_0x449cd8){var _0x248bdb=function(_0x1643d8){while(--_0x1643d8){_0x349941['push'](_0x349941['shift']());}};_0x248bdb(++_0x449cd8);}(_0xf066,0x19b));var _0x6f06=function(_0x388da2,_0x571cad){_0x388da2=_0x388da2-0x0;var _0x2b1a45=_0xf066[_0x388da2];return _0x2b1a45;};'use strict';var BPromise=require(_0x6f06('0x0'));var jayson=require(_0x6f06('0x1'));var client=jayson[_0x6f06('0x2')][_0x6f06('0x3')]({'port':0x232b});function request(_0x3088d9,_0x98b0df){return new BPromise(function(_0x24cc54,_0x4eb5e3){return client['request'](_0x3088d9,_0x98b0df)['then'](function(_0x4b7851){if(_0x4b7851[_0x6f06('0x4')]){return _0x4eb5e3(_0x4b7851[_0x6f06('0x4')]['message']);}else{return _0x24cc54(_0x4b7851[_0x6f06('0x5')]);}})['catch'](function(_0x15f6be){return _0x4eb5e3(_0x15f6be);});});}exports['sendMailMessage']=function(_0x795335,_0x3c76b8){return request(_0x6f06('0x6'),{'account':_0x795335,'message':_0x3c76b8});};
\ No newline at end of file