Built motion from commit 3770a7bd.|2.6.29
[motion2.git] / server / services / routing / mailRpc / index.js
index 4045799..f0cfc91 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf49c=['result','catch','SendMail','bluebird','jayson/promise','client','http','request','then','error','message'];(function(_0x19950b,_0x53d0d7){var _0x3c6b41=function(_0x3924ad){while(--_0x3924ad){_0x19950b['push'](_0x19950b['shift']());}};_0x3c6b41(++_0x53d0d7);}(_0xf49c,0x179));var _0xcf49=function(_0x2086d8,_0x52cf3d){_0x2086d8=_0x2086d8-0x0;var _0xb4861c=_0xf49c[_0x2086d8];return _0xb4861c;};'use strict';var BPromise=require(_0xcf49('0x0'));var jayson=require(_0xcf49('0x1'));var client=jayson[_0xcf49('0x2')][_0xcf49('0x3')]({'port':0x232b});function request(_0x3fc02f,_0x39efcd){return new BPromise(function(_0x1ebe9a,_0x5569d2){return client[_0xcf49('0x4')](_0x3fc02f,_0x39efcd)[_0xcf49('0x5')](function(_0x216b38){if(_0x216b38[_0xcf49('0x6')]){return _0x5569d2(_0x216b38['error'][_0xcf49('0x7')]);}else{return _0x1ebe9a(_0x216b38[_0xcf49('0x8')]);}})[_0xcf49('0x9')](function(_0x4b199b){return _0x5569d2(_0x4b199b);});});}exports['sendMailMessage']=function(_0x582c06,_0x478c1b){return request(_0xcf49('0xa'),{'account':_0x582c06,'message':_0x478c1b});};
\ No newline at end of file
+var _0xb470=['then','error','message','result','catch','sendMailMessage','SendMail','bluebird','jayson/promise','http','request'];(function(_0x34373f,_0x338e75){var _0x14be7f=function(_0x2abd71){while(--_0x2abd71){_0x34373f['push'](_0x34373f['shift']());}};_0x14be7f(++_0x338e75);}(_0xb470,0x193));var _0x0b47=function(_0x257c40,_0x56c174){_0x257c40=_0x257c40-0x0;var _0x5c7699=_0xb470[_0x257c40];return _0x5c7699;};'use strict';var BPromise=require(_0x0b47('0x0'));var jayson=require(_0x0b47('0x1'));var client=jayson['client'][_0x0b47('0x2')]({'port':0x232b});function request(_0x1e71c8,_0x123243){return new BPromise(function(_0x3c9efb,_0x3dbd54){return client[_0x0b47('0x3')](_0x1e71c8,_0x123243)[_0x0b47('0x4')](function(_0x3e5bc3){if(_0x3e5bc3[_0x0b47('0x5')]){return _0x3dbd54(_0x3e5bc3['error'][_0x0b47('0x6')]);}else{return _0x3c9efb(_0x3e5bc3[_0x0b47('0x7')]);}})[_0x0b47('0x8')](function(_0x524534){return _0x3dbd54(_0x524534);});});}exports[_0x0b47('0x9')]=function(_0x5d0bbc,_0x4958ff){return request(_0x0b47('0xa'),{'account':_0x5d0bbc,'message':_0x4958ff});};
\ No newline at end of file