Built motion from commit b5996064.|2.6.21
[motion2.git] / server / services / routing / mailRpc / index.js
index e29f21f..3c40610 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4a05=['SendMail','jayson/promise','http','request','then','error','message','catch','sendMailMessage'];(function(_0x27526a,_0x28f76c){var _0x323d29=function(_0x4201cd){while(--_0x4201cd){_0x27526a['push'](_0x27526a['shift']());}};_0x323d29(++_0x28f76c);}(_0x4a05,0x157));var _0x54a0=function(_0x349367,_0x1cede2){_0x349367=_0x349367-0x0;var _0x14179b=_0x4a05[_0x349367];return _0x14179b;};'use strict';var BPromise=require('bluebird');var jayson=require(_0x54a0('0x0'));var client=jayson['client'][_0x54a0('0x1')]({'port':0x232b});function request(_0x4bb43e,_0x1a3380){return new BPromise(function(_0x29af6d,_0x2a1353){return client[_0x54a0('0x2')](_0x4bb43e,_0x1a3380)[_0x54a0('0x3')](function(_0x2feb3b){if(_0x2feb3b['error']){return _0x2a1353(_0x2feb3b[_0x54a0('0x4')][_0x54a0('0x5')]);}else{return _0x29af6d(_0x2feb3b['result']);}})[_0x54a0('0x6')](function(_0x1d09c5){return _0x2a1353(_0x1d09c5);});});}exports[_0x54a0('0x7')]=function(_0x55fab6,_0x1c2d7c){return request(_0x54a0('0x8'),{'account':_0x55fab6,'message':_0x1c2d7c});};
\ No newline at end of file
+var _0xb8ee=['request','then','message','result','catch','SendMail','jayson/promise','http'];(function(_0x20dc96,_0xe86391){var _0x3984ae=function(_0x2bbef6){while(--_0x2bbef6){_0x20dc96['push'](_0x20dc96['shift']());}};_0x3984ae(++_0xe86391);}(_0xb8ee,0x17e));var _0xeb8e=function(_0x58e8eb,_0x2ac0c7){_0x58e8eb=_0x58e8eb-0x0;var _0x168540=_0xb8ee[_0x58e8eb];return _0x168540;};'use strict';var BPromise=require('bluebird');var jayson=require(_0xeb8e('0x0'));var client=jayson['client'][_0xeb8e('0x1')]({'port':0x232b});function request(_0x3d6c97,_0x574f0a){return new BPromise(function(_0x9e3830,_0x225f76){return client[_0xeb8e('0x2')](_0x3d6c97,_0x574f0a)[_0xeb8e('0x3')](function(_0x4cef8b){if(_0x4cef8b['error']){return _0x225f76(_0x4cef8b['error'][_0xeb8e('0x4')]);}else{return _0x9e3830(_0x4cef8b[_0xeb8e('0x5')]);}})[_0xeb8e('0x6')](function(_0x1743e3){return _0x225f76(_0x1743e3);});});}exports['sendMailMessage']=function(_0x16f385,_0x53f4c8){return request(_0xeb8e('0x7'),{'account':_0x16f385,'message':_0x53f4c8});};
\ No newline at end of file