Built motion from commit 14588770.|2.5.38
[motion2.git] / server / services / routing / mailRpc / index.js
index cb3cb81..b561e86 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1357=['jayson/promise','client','http','then','error','result','catch','sendMailMessage','SendMail','bluebird'];(function(_0x286cba,_0xee48ba){var _0xed5411=function(_0x2314e3){while(--_0x2314e3){_0x286cba['push'](_0x286cba['shift']());}};_0xed5411(++_0xee48ba);}(_0x1357,0x135));var _0x7135=function(_0x5f25d2,_0x437b56){_0x5f25d2=_0x5f25d2-0x0;var _0x3bac32=_0x1357[_0x5f25d2];return _0x3bac32;};'use strict';var BPromise=require(_0x7135('0x0'));var jayson=require(_0x7135('0x1'));var client=jayson[_0x7135('0x2')][_0x7135('0x3')]({'port':0x232b});function request(_0x25dac6,_0x591a1f){return new BPromise(function(_0x494d09,_0x19a8e7){return client['request'](_0x25dac6,_0x591a1f)[_0x7135('0x4')](function(_0x3d35b2){if(_0x3d35b2[_0x7135('0x5')]){return _0x19a8e7(_0x3d35b2['error']['message']);}else{return _0x494d09(_0x3d35b2[_0x7135('0x6')]);}})[_0x7135('0x7')](function(_0x25a607){return _0x19a8e7(_0x25a607);});});}exports[_0x7135('0x8')]=function(_0x557a74,_0x4c08fd){return request(_0x7135('0x9'),{'account':_0x557a74,'message':_0x4c08fd});};
\ No newline at end of file
+var _0xd2b5=['sendMailMessage','SendMail','bluebird','jayson/promise','client','http','request','then','error','message'];(function(_0x4d0f0c,_0x3c225a){var _0x1fe673=function(_0x12f7d7){while(--_0x12f7d7){_0x4d0f0c['push'](_0x4d0f0c['shift']());}};_0x1fe673(++_0x3c225a);}(_0xd2b5,0x8e));var _0x5d2b=function(_0x26632d,_0xa8b595){_0x26632d=_0x26632d-0x0;var _0x5b7cc4=_0xd2b5[_0x26632d];return _0x5b7cc4;};'use strict';var BPromise=require(_0x5d2b('0x0'));var jayson=require(_0x5d2b('0x1'));var client=jayson[_0x5d2b('0x2')][_0x5d2b('0x3')]({'port':0x232b});function request(_0x59bbc6,_0x1033ed){return new BPromise(function(_0x42ea46,_0x432bd7){return client[_0x5d2b('0x4')](_0x59bbc6,_0x1033ed)[_0x5d2b('0x5')](function(_0x32d26c){if(_0x32d26c['error']){return _0x432bd7(_0x32d26c[_0x5d2b('0x6')][_0x5d2b('0x7')]);}else{return _0x42ea46(_0x32d26c['result']);}})['catch'](function(_0x212f59){return _0x432bd7(_0x212f59);});});}exports[_0x5d2b('0x8')]=function(_0x1bbdfe,_0x575752){return request(_0x5d2b('0x9'),{'account':_0x1bbdfe,'message':_0x575752});};
\ No newline at end of file