Built motion from commit d13e3c905.|1.0.24
[motion.git] / server / config / forked_routing / mail / sendmail.js
index 3778d99..d5b978d 100644 (file)
@@ -1 +1 @@
-var _0xaf5c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x75\x73\x74\x61\x63\x68\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C","\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x69\x6E\x61\x6C\x6C\x79","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x50\x50\x20\x53\x45\x4E\x44\x4D\x41\x49\x4C\x2C\x20\x41\x43\x43\x4F\x55\x4E\x54\x3A","\x64\x61\x74\x61\x38","\x54\x45\x4D\x50\x4C\x41\x54\x45\x3A","\x64\x61\x74\x61\x39","\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x45\x52\x52\x4F\x52","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x6E\x66\x6F","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x73\x65\x6E\x64","\x74\x68\x65\x6E","\x73\x75\x62\x6A\x65\x63\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x72\x6F\x6F\x6D\x69\x64","\x68\x74\x6D\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x2C\x20","\x6A\x6F\x69\x6E","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x72\x65\x6E\x64\x65\x72","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x73\x68\x6F\x77","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x72\x65\x71\x75\x65\x73\x74","\x61\x64\x64\x72\x65\x73\x73","\x70\x75\x73\x68","\x64\x61\x74\x61\x32","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74"];_0xaf5c[0];var Mustache=require(_0xaf5c[1]);var MyUtil=require(_0xaf5c[2]);var logger=require(_0xaf5c[4])(_0xaf5c[3]);var config=require(_0xaf5c[5]);module[_0xaf5c[6]]= function(_0xd14bx5,_0xd14bx6,_0xd14bx7,_0xd14bx8,_0xd14bx9,_0xd14bxa){var _0xd14bxb={from:[],to:[],auto:true};return _0xd14bx9[_0xaf5c[40]](_0xaf5c[38],[_0xaf5c[45],{where:{id:_0xd14bx5[_0xaf5c[11]]}}])[_0xaf5c[22]](function(_0xd14bxe){_0xd14bxb[_0xaf5c[30]][_0xaf5c[42]](_0xd14bxe[_0xaf5c[41]]);_0xd14bxb[_0xaf5c[31]][_0xaf5c[42]](_0xd14bx5[_0xaf5c[43]]);return _0xd14bx9[_0xaf5c[40]](_0xaf5c[38],[_0xaf5c[44],{where:{id:_0xd14bx5[_0xaf5c[13]]}}])})[_0xaf5c[22]](function(_0xd14bxd){_0xd14bxb[_0xaf5c[23]]= _0xd14bxd[_0xaf5c[23]];_0xd14bxb[_0xaf5c[24]]= _0xd14bx6[_0xaf5c[25]];_0xd14bxb[_0xaf5c[26]]= Mustache[_0xaf5c[34]](_0xd14bxd[_0xaf5c[26]],{interactionId:_0xd14bx6[_0xaf5c[25]],subject:_0xd14bxd[_0xaf5c[23]],accountName:_0xd14bx6[_0xaf5c[27]],from:_0xd14bxb[_0xaf5c[30]][_0xaf5c[29]](_0xaf5c[28]),to:_0xd14bxb[_0xaf5c[31]][_0xaf5c[29]](_0xaf5c[28]),cc:_0xd14bx6[_0xaf5c[32]][_0xaf5c[29]](_0xaf5c[28]),createdAt:_0xd14bx5[_0xaf5c[33]]});if(_0xd14bx6[_0xaf5c[35]]){return _0xd14bx9[_0xaf5c[40]](_0xaf5c[38],[_0xaf5c[39],{where:{id:_0xd14bx6[_0xaf5c[35]]}}])[_0xaf5c[22]](function(_0xd14bx6){_0xd14bxb[_0xaf5c[36]]= _0xd14bx6[_0xaf5c[9]]=== _0xaf5c[3]?_0xd14bx6[_0xaf5c[37]]:_0xd14bx6[_0xaf5c[36]]})}})[_0xaf5c[22]](function(){logger[_0xaf5c[19]](_0xd14bx6[_0xaf5c[9]][_0xaf5c[8]](),_0xaf5c[10],_0xd14bx5[_0xaf5c[11]],_0xaf5c[12],_0xd14bx5[_0xaf5c[13]],_0xaf5c[14],_0xd14bx6[_0xaf5c[15]]);process[_0xaf5c[21]]({type:_0xaf5c[20],msg:_0xd14bxb})})[_0xaf5c[18]](function(_0xd14bxc){logger[_0xaf5c[17]](_0xd14bx6[_0xaf5c[9]][_0xaf5c[8]](),_0xaf5c[10],_0xd14bx5[_0xaf5c[11]],_0xaf5c[12],_0xd14bx5[_0xaf5c[13]],_0xaf5c[14],_0xd14bx6[_0xaf5c[15]],_0xaf5c[16]);logger[_0xaf5c[17]](_0xd14bxc)})[_0xaf5c[7]](function(){_0xd14bxa()})}
\ No newline at end of file
+var _0xb60c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6D\x75\x73\x74\x61\x63\x68\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C","\x6D\x61\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x66\x69\x6E\x61\x6C\x6C\x79","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x63\x68\x61\x6E\x6E\x65\x6C","\x41\x50\x50\x20\x53\x45\x4E\x44\x4D\x41\x49\x4C\x2C\x20\x41\x43\x43\x4F\x55\x4E\x54\x3A","\x64\x61\x74\x61\x38","\x54\x45\x4D\x50\x4C\x41\x54\x45\x3A","\x64\x61\x74\x61\x39","\x49\x4E\x54\x45\x52\x41\x43\x54\x49\x4F\x4E\x3A","\x75\x6E\x69\x71\x75\x65\x69\x64","\x45\x52\x52\x4F\x52","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x69\x6E\x66\x6F","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x73\x65\x6E\x64","\x74\x68\x65\x6E","\x73\x75\x62\x6A\x65\x63\x74","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x72\x6F\x6F\x6D\x69\x64","\x68\x74\x6D\x6C","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x2C\x20","\x6A\x6F\x69\x6E","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x72\x65\x6E\x64\x65\x72","\x6D\x65\x73\x73\x61\x67\x65\x69\x64","\x62\x6F\x64\x79","\x74\x65\x78\x74","\x73\x68\x6F\x77","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x72\x65\x71\x75\x65\x73\x74","\x61\x64\x64\x72\x65\x73\x73","\x70\x75\x73\x68","\x64\x61\x74\x61\x32","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74"];_0xb60c[0];var Mustache=require(_0xb60c[1]);var MyUtil=require(_0xb60c[2]);var logger=require(_0xb60c[4])(_0xb60c[3]);var config=require(_0xb60c[5]);module[_0xb60c[6]]= function(_0xeb31x5,_0xeb31x6,_0xeb31x7,_0xeb31x8,_0xeb31x9,_0xeb31xa){var _0xeb31xb={from:[],to:[],auto:true};return _0xeb31x9[_0xb60c[40]](_0xb60c[38],[_0xb60c[45],{where:{id:_0xeb31x5[_0xb60c[11]]}}])[_0xb60c[22]](function(_0xeb31xe){_0xeb31xb[_0xb60c[30]][_0xb60c[42]](_0xeb31xe[_0xb60c[41]]);_0xeb31xb[_0xb60c[31]][_0xb60c[42]](_0xeb31x5[_0xb60c[43]]);return _0xeb31x9[_0xb60c[40]](_0xb60c[38],[_0xb60c[44],{where:{id:_0xeb31x5[_0xb60c[13]]}}])})[_0xb60c[22]](function(_0xeb31xd){_0xeb31xb[_0xb60c[23]]= _0xeb31xd[_0xb60c[23]];_0xeb31xb[_0xb60c[24]]= _0xeb31x6[_0xb60c[25]];_0xeb31xb[_0xb60c[26]]= Mustache[_0xb60c[34]](_0xeb31xd[_0xb60c[26]],{interactionId:_0xeb31x6[_0xb60c[25]],subject:_0xeb31xd[_0xb60c[23]],accountName:_0xeb31x6[_0xb60c[27]],from:_0xeb31xb[_0xb60c[30]][_0xb60c[29]](_0xb60c[28]),to:_0xeb31xb[_0xb60c[31]][_0xb60c[29]](_0xb60c[28]),cc:_0xeb31x6[_0xb60c[32]][_0xb60c[29]](_0xb60c[28]),createdAt:_0xeb31x5[_0xb60c[33]]});if(_0xeb31x6[_0xb60c[35]]){return _0xeb31x9[_0xb60c[40]](_0xb60c[38],[_0xb60c[39],{where:{id:_0xeb31x6[_0xb60c[35]]}}])[_0xb60c[22]](function(_0xeb31x6){_0xeb31xb[_0xb60c[36]]= _0xeb31x6[_0xb60c[9]]=== _0xb60c[3]?_0xeb31x6[_0xb60c[37]]:_0xeb31x6[_0xb60c[36]]})}})[_0xb60c[22]](function(){logger[_0xb60c[19]](_0xeb31x6[_0xb60c[9]][_0xb60c[8]](),_0xb60c[10],_0xeb31x5[_0xb60c[11]],_0xb60c[12],_0xeb31x5[_0xb60c[13]],_0xb60c[14],_0xeb31x6[_0xb60c[15]]);process[_0xb60c[21]]({type:_0xb60c[20],msg:_0xeb31xb})})[_0xb60c[18]](function(_0xeb31xc){logger[_0xb60c[17]](_0xeb31x6[_0xb60c[9]][_0xb60c[8]](),_0xb60c[10],_0xeb31x5[_0xb60c[11]],_0xb60c[12],_0xeb31x5[_0xb60c[13]],_0xb60c[14],_0xeb31x6[_0xb60c[15]],_0xb60c[16]);logger[_0xb60c[17]](_0xeb31xc)})[_0xb60c[7]](function(){_0xeb31xa()})}
\ No newline at end of file