Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / services / routing / mailRpc / index.js
index 3289726..e29f21f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x814b=['bluebird','jayson/promise','client','http','request','then','error','result','catch','sendMailMessage','SendMail'];(function(_0x3f9382,_0x452373){var _0x555c94=function(_0x4704c0){while(--_0x4704c0){_0x3f9382['push'](_0x3f9382['shift']());}};_0x555c94(++_0x452373);}(_0x814b,0x1a2));var _0xb814=function(_0x1943d9,_0x245bb8){_0x1943d9=_0x1943d9-0x0;var _0x4b4f3f=_0x814b[_0x1943d9];return _0x4b4f3f;};'use strict';var BPromise=require(_0xb814('0x0'));var jayson=require(_0xb814('0x1'));var client=jayson[_0xb814('0x2')][_0xb814('0x3')]({'port':0x232b});function request(_0xfbb64b,_0x477725){return new BPromise(function(_0x4a98af,_0x38c21a){return client[_0xb814('0x4')](_0xfbb64b,_0x477725)[_0xb814('0x5')](function(_0x4237bc){if(_0x4237bc[_0xb814('0x6')]){return _0x38c21a(_0x4237bc[_0xb814('0x6')]['message']);}else{return _0x4a98af(_0x4237bc[_0xb814('0x7')]);}})[_0xb814('0x8')](function(_0x5c8539){return _0x38c21a(_0x5c8539);});});}exports[_0xb814('0x9')]=function(_0x2913a6,_0x186d5a){return request(_0xb814('0xa'),{'account':_0x2913a6,'message':_0x186d5a});};
\ No newline at end of file
+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