X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Frouting%2FmailRpc%2Findex.js;h=bf2bfc49e2f13f231d6b6835e5aa500f5087d4e5;hb=1a8d267e76bee6a69bd79c66b9e5eb5d9e44c796;hp=957d7540c8b9a24c3a6a0b5e40da8e7c8eaf6b64;hpb=7e2a86485d5b091066011cf58fcba785923a5ac5;p=motion2.git diff --git a/server/services/routing/mailRpc/index.js b/server/services/routing/mailRpc/index.js index 957d754..bf2bfc4 100644 --- a/server/services/routing/mailRpc/index.js +++ b/server/services/routing/mailRpc/index.js @@ -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(_0x8ff6ec,_0x1c615f){var _0x1edeed=function(_0x45231d){while(--_0x45231d){_0x8ff6ec['push'](_0x8ff6ec['shift']());}};_0x1edeed(++_0x1c615f);}(_0x814b,0x1a2));var _0xb814=function(_0x499d15,_0x5376c1){_0x499d15=_0x499d15-0x0;var _0x189291=_0x814b[_0x499d15];return _0x189291;};'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 _0xe5b0=['client','http','request','then','message','result','sendMailMessage','SendMail','jayson/promise'];(function(_0x155096,_0x5d1f4d){var _0x2bfb21=function(_0x83e574){while(--_0x83e574){_0x155096['push'](_0x155096['shift']());}};_0x2bfb21(++_0x5d1f4d);}(_0xe5b0,0x1ca));var _0x0e5b=function(_0x3bdfcf,_0x2ad234){_0x3bdfcf=_0x3bdfcf-0x0;var _0x37104c=_0xe5b0[_0x3bdfcf];return _0x37104c;};'use strict';var BPromise=require('bluebird');var jayson=require(_0x0e5b('0x0'));var client=jayson[_0x0e5b('0x1')][_0x0e5b('0x2')]({'port':0x232b});function request(_0x276e51,_0x472433){return new BPromise(function(_0x3aa4ab,_0x4eb105){return client[_0x0e5b('0x3')](_0x276e51,_0x472433)[_0x0e5b('0x4')](function(_0x4e4969){if(_0x4e4969['error']){return _0x4eb105(_0x4e4969['error'][_0x0e5b('0x5')]);}else{return _0x3aa4ab(_0x4e4969[_0x0e5b('0x6')]);}})['catch'](function(_0x28546f){return _0x4eb105(_0x28546f);});});}exports[_0x0e5b('0x7')]=function(_0x5af757,_0x4aa9b3){return request(_0x0e5b('0x8'),{'account':_0x5af757,'message':_0x4aa9b3});}; \ No newline at end of file