Built motion from commit 43538d75.|2.5.35
[motion2.git] / server / services / agi / mailRpc / index.js
index 08a93ab..8fcb62a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfa21=['message','result','catch','SendMail','bluebird','jayson/promise','http','request','then','error'];(function(_0x115930,_0x1413a0){var _0x3178cf=function(_0x555bb6){while(--_0x555bb6){_0x115930['push'](_0x115930['shift']());}};_0x3178cf(++_0x1413a0);}(_0xfa21,0x1a8));var _0x1fa2=function(_0x53f49a,_0x4805b2){_0x53f49a=_0x53f49a-0x0;var _0x4ebd07=_0xfa21[_0x53f49a];return _0x4ebd07;};'use strict';var BPromise=require(_0x1fa2('0x0'));var jayson=require(_0x1fa2('0x1'));var client=jayson['client'][_0x1fa2('0x2')]({'port':0x232b});function request(_0x308594,_0x2e5fe4){return new BPromise(function(_0x3d889b,_0x4e7990){return client[_0x1fa2('0x3')](_0x308594,_0x2e5fe4)[_0x1fa2('0x4')](function(_0x23a5cb){if(_0x23a5cb[_0x1fa2('0x5')]){return _0x4e7990(_0x23a5cb[_0x1fa2('0x5')][_0x1fa2('0x6')]);}else{return _0x3d889b(_0x23a5cb[_0x1fa2('0x7')]);}})[_0x1fa2('0x8')](function(_0x22195b){return _0x4e7990(_0x22195b);});});}exports['sendMailMessage']=function(_0x3c753c,_0x136957){return request(_0x1fa2('0x9'),{'account':_0x3c753c,'message':_0x136957});};
\ No newline at end of file
+var _0x7c43=['SendMail','bluebird','jayson/promise','client','request','then','error','result','catch','sendMailMessage'];(function(_0x4eb999,_0x548d2b){var _0x37e547=function(_0x494771){while(--_0x494771){_0x4eb999['push'](_0x4eb999['shift']());}};_0x37e547(++_0x548d2b);}(_0x7c43,0xab));var _0x37c4=function(_0x21176e,_0x17a415){_0x21176e=_0x21176e-0x0;var _0x29634c=_0x7c43[_0x21176e];return _0x29634c;};'use strict';var BPromise=require(_0x37c4('0x0'));var jayson=require(_0x37c4('0x1'));var client=jayson[_0x37c4('0x2')]['http']({'port':0x232b});function request(_0x345695,_0x40b37b){return new BPromise(function(_0xffad8e,_0x54978c){return client[_0x37c4('0x3')](_0x345695,_0x40b37b)[_0x37c4('0x4')](function(_0x587694){if(_0x587694[_0x37c4('0x5')]){return _0x54978c(_0x587694[_0x37c4('0x5')]['message']);}else{return _0xffad8e(_0x587694[_0x37c4('0x6')]);}})[_0x37c4('0x7')](function(_0x164c98){return _0x54978c(_0x164c98);});});}exports[_0x37c4('0x8')]=function(_0x70ef3,_0x4caf1f){return request(_0x37c4('0x9'),{'account':_0x70ef3,'message':_0x4caf1f});};
\ No newline at end of file