Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / services / routing / mailRpc / index.js
index abb31c1..992189e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb614=['client','http','request','error','message','catch','SendMail','bluebird','jayson/promise'];(function(_0x460f9e,_0x17a3d8){var _0x3a8041=function(_0x484c51){while(--_0x484c51){_0x460f9e['push'](_0x460f9e['shift']());}};_0x3a8041(++_0x17a3d8);}(_0xb614,0x127));var _0x4b61=function(_0x3c19d0,_0x3363ba){_0x3c19d0=_0x3c19d0-0x0;var _0x394b5f=_0xb614[_0x3c19d0];return _0x394b5f;};'use strict';var BPromise=require(_0x4b61('0x0'));var jayson=require(_0x4b61('0x1'));var client=jayson[_0x4b61('0x2')][_0x4b61('0x3')]({'port':0x232b});function request(_0x1b618a,_0x4d18e3){return new BPromise(function(_0x5824ba,_0x332cf6){return client[_0x4b61('0x4')](_0x1b618a,_0x4d18e3)['then'](function(_0x25b416){if(_0x25b416[_0x4b61('0x5')]){return _0x332cf6(_0x25b416[_0x4b61('0x5')][_0x4b61('0x6')]);}else{return _0x5824ba(_0x25b416['result']);}})[_0x4b61('0x7')](function(_0x1d5c52){return _0x332cf6(_0x1d5c52);});});}exports['sendMailMessage']=function(_0x2675f3,_0x4f8c7){return request(_0x4b61('0x8'),{'account':_0x2675f3,'message':_0x4f8c7});};
\ No newline at end of file
+var _0xaf01=['catch','sendMailMessage','SendMail','bluebird','jayson/promise','http','request','then','error'];(function(_0x205db5,_0x5ae499){var _0x530649=function(_0x28a350){while(--_0x28a350){_0x205db5['push'](_0x205db5['shift']());}};_0x530649(++_0x5ae499);}(_0xaf01,0xc0));var _0x1af0=function(_0x49b207,_0x408ade){_0x49b207=_0x49b207-0x0;var _0x2dc8fa=_0xaf01[_0x49b207];return _0x2dc8fa;};'use strict';var BPromise=require(_0x1af0('0x0'));var jayson=require(_0x1af0('0x1'));var client=jayson['client'][_0x1af0('0x2')]({'port':0x232b});function request(_0x3f51cf,_0xd24604){return new BPromise(function(_0x4b2cce,_0x49cbd2){return client[_0x1af0('0x3')](_0x3f51cf,_0xd24604)[_0x1af0('0x4')](function(_0x47b680){if(_0x47b680[_0x1af0('0x5')]){return _0x49cbd2(_0x47b680['error']['message']);}else{return _0x4b2cce(_0x47b680['result']);}})[_0x1af0('0x6')](function(_0x124a92){return _0x49cbd2(_0x124a92);});});}exports[_0x1af0('0x7')]=function(_0x57aca7,_0x31dffd){return request(_0x1af0('0x8'),{'account':_0x57aca7,'message':_0x31dffd});};
\ No newline at end of file