Built motion from commit 9d1906d1.|2.5.40
[motion2.git] / server / services / agi / mailRpc / index.js
index 3e63cfc..e5db09f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc13=['sendMailMessage','bluebird','jayson/promise','client','http','error','result','catch'];(function(_0x93a1ab,_0x1f4f00){var _0x215766=function(_0x3b4c7f){while(--_0x3b4c7f){_0x93a1ab['push'](_0x93a1ab['shift']());}};_0x215766(++_0x1f4f00);}(_0xfc13,0x141));var _0x3fc1=function(_0x18c703,_0x2d2ea3){_0x18c703=_0x18c703-0x0;var _0x4cb3c9=_0xfc13[_0x18c703];return _0x4cb3c9;};'use strict';var BPromise=require(_0x3fc1('0x0'));var jayson=require(_0x3fc1('0x1'));var client=jayson[_0x3fc1('0x2')][_0x3fc1('0x3')]({'port':0x232b});function request(_0x53dab1,_0x1694c4){return new BPromise(function(_0x523f09,_0x249374){return client['request'](_0x53dab1,_0x1694c4)['then'](function(_0x5ee416){if(_0x5ee416[_0x3fc1('0x4')]){return _0x249374(_0x5ee416[_0x3fc1('0x4')]['message']);}else{return _0x523f09(_0x5ee416[_0x3fc1('0x5')]);}})[_0x3fc1('0x6')](function(_0x5e8f9b){return _0x249374(_0x5e8f9b);});});}exports[_0x3fc1('0x7')]=function(_0x222932,_0x2f3d36){return request('SendMail',{'account':_0x222932,'message':_0x2f3d36});};
\ No newline at end of file
+var _0x5bd1=['sendMailMessage','SendMail','bluebird','jayson/promise','client','request','then','error','message','result','catch'];(function(_0x56e875,_0x4a3072){var _0x363ca1=function(_0x2cf5db){while(--_0x2cf5db){_0x56e875['push'](_0x56e875['shift']());}};_0x363ca1(++_0x4a3072);}(_0x5bd1,0x199));var _0x15bd=function(_0x3f8743,_0x33973f){_0x3f8743=_0x3f8743-0x0;var _0x1f844c=_0x5bd1[_0x3f8743];return _0x1f844c;};'use strict';var BPromise=require(_0x15bd('0x0'));var jayson=require(_0x15bd('0x1'));var client=jayson[_0x15bd('0x2')]['http']({'port':0x232b});function request(_0x5901bc,_0x28dd18){return new BPromise(function(_0x41a7a4,_0x5e991b){return client[_0x15bd('0x3')](_0x5901bc,_0x28dd18)[_0x15bd('0x4')](function(_0x5065bd){if(_0x5065bd[_0x15bd('0x5')]){return _0x5e991b(_0x5065bd[_0x15bd('0x5')][_0x15bd('0x6')]);}else{return _0x41a7a4(_0x5065bd[_0x15bd('0x7')]);}})[_0x15bd('0x8')](function(_0x495e45){return _0x5e991b(_0x495e45);});});}exports[_0x15bd('0x9')]=function(_0x20bbe9,_0x4f6919){return request(_0x15bd('0xa'),{'account':_0x20bbe9,'message':_0x4f6919});};
\ No newline at end of file