Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / services / routing / mailRpc / index.js
index 04e15f6..6e55f5c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd444=['request','then','error','message','jayson/promise','client','http'];(function(_0x2b12dc,_0x35f578){var _0x2f5ef8=function(_0x20919c){while(--_0x20919c){_0x2b12dc['push'](_0x2b12dc['shift']());}};_0x2f5ef8(++_0x35f578);}(_0xd444,0x13f));var _0x4d44=function(_0x197185,_0x251145){_0x197185=_0x197185-0x0;var _0x2c8af1=_0xd444[_0x197185];return _0x2c8af1;};'use strict';var BPromise=require('bluebird');var jayson=require(_0x4d44('0x0'));var client=jayson[_0x4d44('0x1')][_0x4d44('0x2')]({'port':0x232b});function request(_0x881eed,_0x342499){return new BPromise(function(_0x24e379,_0x44a589){return client[_0x4d44('0x3')](_0x881eed,_0x342499)[_0x4d44('0x4')](function(_0x15a2b4){if(_0x15a2b4['error']){return _0x44a589(_0x15a2b4[_0x4d44('0x5')][_0x4d44('0x6')]);}else{return _0x24e379(_0x15a2b4['result']);}})['catch'](function(_0x52c774){return _0x44a589(_0x52c774);});});}exports['sendMailMessage']=function(_0x4bd6c9,_0x344787){return request('SendMail',{'account':_0x4bd6c9,'message':_0x344787});};
\ No newline at end of file
+var _0x48cf=['result','sendMailMessage','SendMail','bluebird','jayson/promise','client','then','error'];(function(_0x43e570,_0x598932){var _0x54413a=function(_0x5e90e6){while(--_0x5e90e6){_0x43e570['push'](_0x43e570['shift']());}};_0x54413a(++_0x598932);}(_0x48cf,0x17b));var _0xf48c=function(_0x13bf0c,_0x4b3849){_0x13bf0c=_0x13bf0c-0x0;var _0x3246db=_0x48cf[_0x13bf0c];return _0x3246db;};'use strict';var BPromise=require(_0xf48c('0x0'));var jayson=require(_0xf48c('0x1'));var client=jayson[_0xf48c('0x2')]['http']({'port':0x232b});function request(_0x2baf27,_0xd376d7){return new BPromise(function(_0x3203db,_0x16b46a){return client['request'](_0x2baf27,_0xd376d7)[_0xf48c('0x3')](function(_0x18479a){if(_0x18479a[_0xf48c('0x4')]){return _0x16b46a(_0x18479a[_0xf48c('0x4')]['message']);}else{return _0x3203db(_0x18479a[_0xf48c('0x5')]);}})['catch'](function(_0x25032e){return _0x16b46a(_0x25032e);});});}exports[_0xf48c('0x6')]=function(_0x78e30d,_0x10e469){return request(_0xf48c('0x7'),{'account':_0x78e30d,'message':_0x10e469});};
\ No newline at end of file