Built motion from commit fade34fd.|2.5.41
[motion2.git] / server / services / routing / mailRpc / index.js
index 2c22563..f5f5e57 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9fe5=['jayson/promise','client','request','then','error','message','catch','bluebird'];(function(_0x18765a,_0x4f1418){var _0x4e8d7c=function(_0x223b21){while(--_0x223b21){_0x18765a['push'](_0x18765a['shift']());}};_0x4e8d7c(++_0x4f1418);}(_0x9fe5,0xbf));var _0x59fe=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0x9fe5[_0x2641f9];return _0x585741;};'use strict';var BPromise=require(_0x59fe('0x0'));var jayson=require(_0x59fe('0x1'));var client=jayson[_0x59fe('0x2')]['http']({'port':0x232b});function request(_0x1e06a1,_0x1d7cd9){return new BPromise(function(_0x19c5ff,_0xafd3eb){return client[_0x59fe('0x3')](_0x1e06a1,_0x1d7cd9)[_0x59fe('0x4')](function(_0x358321){if(_0x358321[_0x59fe('0x5')]){return _0xafd3eb(_0x358321[_0x59fe('0x5')][_0x59fe('0x6')]);}else{return _0x19c5ff(_0x358321['result']);}})[_0x59fe('0x7')](function(_0x424c55){return _0xafd3eb(_0x424c55);});});}exports['sendMailMessage']=function(_0xea2287,_0x33503e){return request('SendMail',{'account':_0xea2287,'message':_0x33503e});};
\ No newline at end of file
+var _0xfbfa=['result','catch','jayson/promise','client','http','then','error','message'];(function(_0x483e3a,_0x568361){var _0x43fca9=function(_0x273d7e){while(--_0x273d7e){_0x483e3a['push'](_0x483e3a['shift']());}};_0x43fca9(++_0x568361);}(_0xfbfa,0x132));var _0xafbf=function(_0xc527f5,_0x1f7c5c){_0xc527f5=_0xc527f5-0x0;var _0x41f85c=_0xfbfa[_0xc527f5];return _0x41f85c;};'use strict';var BPromise=require('bluebird');var jayson=require(_0xafbf('0x0'));var client=jayson[_0xafbf('0x1')][_0xafbf('0x2')]({'port':0x232b});function request(_0x149c11,_0x4a90b2){return new BPromise(function(_0x57442b,_0x3b2038){return client['request'](_0x149c11,_0x4a90b2)[_0xafbf('0x3')](function(_0x6a0bb8){if(_0x6a0bb8[_0xafbf('0x4')]){return _0x3b2038(_0x6a0bb8[_0xafbf('0x4')][_0xafbf('0x5')]);}else{return _0x57442b(_0x6a0bb8[_0xafbf('0x6')]);}})[_0xafbf('0x7')](function(_0x269226){return _0x3b2038(_0x269226);});});}exports['sendMailMessage']=function(_0x3a46ce,_0x143fb6){return request('SendMail',{'account':_0x3a46ce,'message':_0x143fb6});};
\ No newline at end of file