Built motion from commit 7158bc59.|2.5.42
[motion2.git] / server / services / routing / mailRpc / index.js
index d3b2c0d..004a923 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa0cc=['bluebird','jayson/promise','client','then','error','message','SendMail'];(function(_0xe7955b,_0xa67a96){var _0x4383bf=function(_0x2ec671){while(--_0x2ec671){_0xe7955b['push'](_0xe7955b['shift']());}};_0x4383bf(++_0xa67a96);}(_0xa0cc,0x1c0));var _0xca0c=function(_0x33ad42,_0x4b421b){_0x33ad42=_0x33ad42-0x0;var _0x5478e9=_0xa0cc[_0x33ad42];return _0x5478e9;};'use strict';var BPromise=require(_0xca0c('0x0'));var jayson=require(_0xca0c('0x1'));var client=jayson[_0xca0c('0x2')]['http']({'port':0x232b});function request(_0x548961,_0x4a437c){return new BPromise(function(_0x43bb3c,_0x40e8a2){return client['request'](_0x548961,_0x4a437c)[_0xca0c('0x3')](function(_0x3480a6){if(_0x3480a6[_0xca0c('0x4')]){return _0x40e8a2(_0x3480a6[_0xca0c('0x4')][_0xca0c('0x5')]);}else{return _0x43bb3c(_0x3480a6['result']);}})['catch'](function(_0xf7a1b9){return _0x40e8a2(_0xf7a1b9);});});}exports['sendMailMessage']=function(_0x4ffc46,_0x53b340){return request(_0xca0c('0x6'),{'account':_0x4ffc46,'message':_0x53b340});};
\ No newline at end of file
+var _0x67cf=['error','result','catch','bluebird','jayson/promise','client','request','then'];(function(_0x2dea24,_0x2fc021){var _0x309d58=function(_0x2eb89f){while(--_0x2eb89f){_0x2dea24['push'](_0x2dea24['shift']());}};_0x309d58(++_0x2fc021);}(_0x67cf,0x1b3));var _0xf67c=function(_0x51b661,_0x566ef8){_0x51b661=_0x51b661-0x0;var _0x5d1971=_0x67cf[_0x51b661];return _0x5d1971;};'use strict';var BPromise=require(_0xf67c('0x0'));var jayson=require(_0xf67c('0x1'));var client=jayson[_0xf67c('0x2')]['http']({'port':0x232b});function request(_0x230085,_0xabb3dd){return new BPromise(function(_0x46d8b7,_0x4612df){return client[_0xf67c('0x3')](_0x230085,_0xabb3dd)[_0xf67c('0x4')](function(_0x125987){if(_0x125987['error']){return _0x4612df(_0x125987[_0xf67c('0x5')]['message']);}else{return _0x46d8b7(_0x125987[_0xf67c('0x6')]);}})[_0xf67c('0x7')](function(_0x8db019){return _0x4612df(_0x8db019);});});}exports['sendMailMessage']=function(_0x8035de,_0x170031){return request('SendMail',{'account':_0x8035de,'message':_0x170031});};
\ No newline at end of file