Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / services / routing / mailRpc / index.js
index 20ea0f4..0fda999 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x9f23=['client','request','then','error','message','result','catch','sendMailMessage','SendMail','bluebird','jayson/promise'];(function(_0x2e48f2,_0x4da923){var _0x42fc00=function(_0x30e35c){while(--_0x30e35c){_0x2e48f2['push'](_0x2e48f2['shift']());}};_0x42fc00(++_0x4da923);}(_0x9f23,0xf0));var _0x39f2=function(_0x121693,_0x1a22ed){_0x121693=_0x121693-0x0;var _0x32d8fb=_0x9f23[_0x121693];return _0x32d8fb;};'use strict';var BPromise=require(_0x39f2('0x0'));var jayson=require(_0x39f2('0x1'));var client=jayson[_0x39f2('0x2')]['http']({'port':0x232b});function request(_0x54741a,_0xb5db58){return new BPromise(function(_0x203512,_0x2a8fee){return client[_0x39f2('0x3')](_0x54741a,_0xb5db58)[_0x39f2('0x4')](function(_0x3d343e){if(_0x3d343e[_0x39f2('0x5')]){return _0x2a8fee(_0x3d343e[_0x39f2('0x5')][_0x39f2('0x6')]);}else{return _0x203512(_0x3d343e[_0x39f2('0x7')]);}})[_0x39f2('0x8')](function(_0x5eca4b){return _0x2a8fee(_0x5eca4b);});});}exports[_0x39f2('0x9')]=function(_0x5c147d,_0x270337){return request(_0x39f2('0xa'),{'account':_0x5c147d,'message':_0x270337});};
\ No newline at end of file