Built motion from commit 22bc4a4.|0.0.19
[motion.git] / server / config / triggers / mail.js
1 var _0xc72f=["\x6C\x6F\x64\x61\x73\x68","\x54\x72\x69\x67\x67\x65\x72\x20\x4D\x61\x69\x6C\x20\x49\x6E\x69\x74\x69\x61\x6C\x69\x7A\x61\x74\x69\x6F\x6E\x2E\x2E\x2E","\x6C\x6F\x67","\x73\x65\x6E\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x4D\x61\x69\x6C\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x69\x6E\x73\x74\x61\x6E\x63\x65\x73","\x2E\x2E\x2F\x73\x6D\x74\x70","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64","\x73\x65\x6E\x64","\x73\x6D\x74\x70","\x74\x68\x65\x6E","\x53\x45\x4E\x44\x49\x4E\x47","\x73\x75\x62\x6A\x65\x63\x74","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","","\x68\x74\x6D\x6C","\x74\x65\x78\x74","\x63\x72\x65\x61\x74\x65","\x66\x69\x6E\x64\x42\x79\x49\x64","\x65\x78\x70\x6F\x72\x74\x73"];var _=require(_0xc72f[0]);function Mail(){console[_0xc72f[2]](_0xc72f[1])}Mail[_0xc72f[4]][_0xc72f[3]]=function(_0x9199x3){sendTemplate(_0x9199x3)};function sendTemplate(_0x9199x3,_0x9199x5){var _0x9199x6=require(_0xc72f[6])[_0xc72f[5]];var _0x9199x7=require(_0xc72f[6])[_0xc72f[7]];var _0x9199x8=require(_0xc72f[6])[_0xc72f[8]];var _0x9199x9=require(_0xc72f[10])[_0xc72f[9]];_0x9199x7[_0xc72f[25]](_0x9199x3,{include:[{all:true}]})[_0xc72f[15]](function(_0x9199xa){_0x9199x8[_0xc72f[24]]({status:_0xc72f[16],subject:_0x9199xa[_0xc72f[17]],from:_0x9199xa[_0xc72f[18]],to:_0x9199xa[_0xc72f[19]],cc:_0x9199xa[_0xc72f[20]]||_0xc72f[21],html:_0x9199xa[_0xc72f[22]]||null,text:_0x9199xa[_0xc72f[23]]||null})[_0xc72f[15]](function(_0x9199xc){var _0x9199xd=_[_0xc72f[12]](_0x9199x9,{user:_0x9199x5});if(_0x9199xd){_0x9199xd[_0xc72f[14]][_0xc72f[13]](_0x9199xc)};})[_0xc72f[11]](function(_0x9199xb){console[_0xc72f[2]](_0x9199xb)})});}module[_0xc72f[26]]=Mail;