Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / services / routing / mailRpc / index.js
index b561e86..dc29a69 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0xb44d=['result','catch','sendMailMessage','jayson/promise','request','then','error','message'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xb44d,0x1b3));var _0xdb44=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0xb44d[_0x2b4411];return _0x8e41ef;};'use strict';var BPromise=require('bluebird');var jayson=require(_0xdb44('0x0'));var client=jayson['client']['http']({'port':0x232b});function request(_0x11766b,_0x5a8a7d){return new BPromise(function(_0x3fb241,_0xa939de){return client[_0xdb44('0x1')](_0x11766b,_0x5a8a7d)[_0xdb44('0x2')](function(_0xa36643){if(_0xa36643[_0xdb44('0x3')]){return _0xa939de(_0xa36643[_0xdb44('0x3')][_0xdb44('0x4')]);}else{return _0x3fb241(_0xa36643[_0xdb44('0x5')]);}})[_0xdb44('0x6')](function(_0x3f4035){return _0xa939de(_0x3f4035);});});}exports[_0xdb44('0x7')]=function(_0x4e17e2,_0x3998f5){return request('SendMail',{'account':_0x4e17e2,'message':_0x3998f5});};
\ No newline at end of file