Built motion from commit f7863d46.|2.5.41
[motion2.git] / server / services / routing / mailRpc / index.js
index 1a4e00d..bf2bfc4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbdce=['request','then','error','message','result','catch','SendMail','bluebird','jayson/promise','client'];(function(_0x413410,_0xf7ac22){var _0x1294e5=function(_0x54e25b){while(--_0x54e25b){_0x413410['push'](_0x413410['shift']());}};_0x1294e5(++_0xf7ac22);}(_0xbdce,0x15b));var _0xebdc=function(_0x4a52fb,_0x44238b){_0x4a52fb=_0x4a52fb-0x0;var _0x2405e6=_0xbdce[_0x4a52fb];return _0x2405e6;};'use strict';var BPromise=require(_0xebdc('0x0'));var jayson=require(_0xebdc('0x1'));var client=jayson[_0xebdc('0x2')]['http']({'port':0x232b});function request(_0x51a3f2,_0x3788ef){return new BPromise(function(_0x58fe1f,_0x1c0fe7){return client[_0xebdc('0x3')](_0x51a3f2,_0x3788ef)[_0xebdc('0x4')](function(_0x462a6c){if(_0x462a6c[_0xebdc('0x5')]){return _0x1c0fe7(_0x462a6c[_0xebdc('0x5')][_0xebdc('0x6')]);}else{return _0x58fe1f(_0x462a6c[_0xebdc('0x7')]);}})[_0xebdc('0x8')](function(_0x3653f2){return _0x1c0fe7(_0x3653f2);});});}exports['sendMailMessage']=function(_0x5c2dd2,_0x1045f0){return request(_0xebdc('0x9'),{'account':_0x5c2dd2,'message':_0x1045f0});};
\ No newline at end of file
+var _0xe5b0=['client','http','request','then','message','result','sendMailMessage','SendMail','jayson/promise'];(function(_0x155096,_0x5d1f4d){var _0x2bfb21=function(_0x83e574){while(--_0x83e574){_0x155096['push'](_0x155096['shift']());}};_0x2bfb21(++_0x5d1f4d);}(_0xe5b0,0x1ca));var _0x0e5b=function(_0x3bdfcf,_0x2ad234){_0x3bdfcf=_0x3bdfcf-0x0;var _0x37104c=_0xe5b0[_0x3bdfcf];return _0x37104c;};'use strict';var BPromise=require('bluebird');var jayson=require(_0x0e5b('0x0'));var client=jayson[_0x0e5b('0x1')][_0x0e5b('0x2')]({'port':0x232b});function request(_0x276e51,_0x472433){return new BPromise(function(_0x3aa4ab,_0x4eb105){return client[_0x0e5b('0x3')](_0x276e51,_0x472433)[_0x0e5b('0x4')](function(_0x4e4969){if(_0x4e4969['error']){return _0x4eb105(_0x4e4969['error'][_0x0e5b('0x5')]);}else{return _0x3aa4ab(_0x4e4969[_0x0e5b('0x6')]);}})['catch'](function(_0x28546f){return _0x4eb105(_0x28546f);});});}exports[_0x0e5b('0x7')]=function(_0x5af757,_0x4aa9b3){return request(_0x0e5b('0x8'),{'account':_0x5af757,'message':_0x4aa9b3});};
\ No newline at end of file