Built motion from commit 4cb7c5ded.|1.0.24
[motion.git] / server / config / forked_routing / mail / sendmail.js
index d7b2e1f..d2560b3 100644 (file)
@@ -1 +1 @@
-var _0xe756=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x66\x73","\x75\x74\x69\x6C","\x70\x61\x74\x68","\x6D\x75\x73\x74\x61\x63\x68\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x75\x74\x69\x6C","\x4D\x61\x69\x6C\x41\x63\x63\x6F\x75\x6E\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x54\x65\x6D\x70\x6C\x61\x74\x65","\x4D\x61\x69\x6C\x4D\x65\x73\x73\x61\x67\x65","\x4D\x61\x69\x6C\x41\x74\x74\x61\x63\x68\x6D\x65\x6E\x74","\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","\x6D\x61\x69\x6C","\x74\x65\x78\x74","\x66\x69\x6E\x64\x42\x79\x49\x64","\x61\x64\x64\x72\x65\x73\x73","\x70\x75\x73\x68","\x64\x61\x74\x61\x32"];_0xe756[0];var fs=require(_0xe756[1]);var util=require(_0xe756[2]);var path=require(_0xe756[3]);var Mustache=require(_0xe756[4]);var MyUtil=require(_0xe756[5]);var Account=require(_0xe756[7])[_0xe756[6]];var Template=require(_0xe756[7])[_0xe756[8]];var Message=require(_0xe756[7])[_0xe756[9]];var Attachment=require(_0xe756[7])[_0xe756[10]];var config=require(_0xe756[11]);module[_0xe756[12]]= function(_0x1411xb,_0x1411xc,_0x1411xd,_0x1411xe,_0x1411xf){var _0x1411x10={from:[],to:[],auto:true};return Account[_0xe756[45]](_0x1411xb[_0xe756[17]])[_0xe756[28]](function(_0x1411x13){_0x1411x10[_0xe756[36]][_0xe756[47]](_0x1411x13[_0xe756[46]]);_0x1411x10[_0xe756[37]][_0xe756[47]](_0x1411xb[_0xe756[48]]);return Template[_0xe756[45]](_0x1411xb[_0xe756[19]])})[_0xe756[28]](function(_0x1411x12){_0x1411x10[_0xe756[29]]= _0x1411x12[_0xe756[29]];_0x1411x10[_0xe756[30]]= _0x1411xc[_0xe756[31]];_0x1411x10[_0xe756[32]]= Mustache[_0xe756[40]](_0x1411x12[_0xe756[32]],{interactionId:_0x1411xc[_0xe756[31]],subject:_0x1411x12[_0xe756[29]],accountName:_0x1411xc[_0xe756[33]],from:_0x1411x10[_0xe756[36]][_0xe756[35]](_0xe756[34]),to:_0x1411x10[_0xe756[37]][_0xe756[35]](_0xe756[34]),cc:_0x1411xc[_0xe756[38]][_0xe756[35]](_0xe756[34]),createdAt:_0x1411xb[_0xe756[39]]});if(_0x1411xc[_0xe756[41]]){return Message[_0xe756[45]](_0x1411xc[_0xe756[41]])[_0xe756[28]](function(_0x1411xc){_0x1411x10[_0xe756[42]]= _0x1411xc[_0xe756[15]]=== _0xe756[43]?_0x1411xc[_0xe756[44]]:_0x1411xc[_0xe756[42]]})}})[_0xe756[28]](function(){console[_0xe756[25]](_0x1411xc[_0xe756[15]][_0xe756[14]](),_0xe756[16],_0x1411xb[_0xe756[17]],_0xe756[18],_0x1411xb[_0xe756[19]],_0xe756[20],_0x1411xc[_0xe756[21]]);process[_0xe756[27]]({type:_0xe756[26],msg:_0x1411x10})})[_0xe756[24]](function(_0x1411x11){console[_0xe756[23]](_0x1411xc[_0xe756[15]][_0xe756[14]](),_0xe756[16],_0x1411xb[_0xe756[17]],_0xe756[18],_0x1411xb[_0xe756[19]],_0xe756[20],_0x1411xc[_0xe756[21]],_0xe756[22]);console[_0xe756[23]](_0x1411x11)})[_0xe756[13]](function(){_0x1411xf()})}
\ No newline at end of file
+var _0xc959=["\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"];_0xc959[0];var Mustache=require(_0xc959[1]);var MyUtil=require(_0xc959[2]);var logger=require(_0xc959[4])(_0xc959[3]);var config=require(_0xc959[5]);module[_0xc959[6]]= function(_0x8d5bx5,_0x8d5bx6,_0x8d5bx7,_0x8d5bx8,_0x8d5bx9,_0x8d5bxa){var _0x8d5bxb={from:[],to:[],auto:true};return _0x8d5bx9[_0xc959[40]](_0xc959[38],[_0xc959[45],{where:{id:_0x8d5bx5[_0xc959[11]]}}])[_0xc959[22]](function(_0x8d5bxe){_0x8d5bxb[_0xc959[30]][_0xc959[42]](_0x8d5bxe[_0xc959[41]]);_0x8d5bxb[_0xc959[31]][_0xc959[42]](_0x8d5bx5[_0xc959[43]]);return _0x8d5bx9[_0xc959[40]](_0xc959[38],[_0xc959[44],{where:{id:_0x8d5bx5[_0xc959[13]]}}])})[_0xc959[22]](function(_0x8d5bxd){_0x8d5bxb[_0xc959[23]]= _0x8d5bxd[_0xc959[23]];_0x8d5bxb[_0xc959[24]]= _0x8d5bx6[_0xc959[25]];_0x8d5bxb[_0xc959[26]]= Mustache[_0xc959[34]](_0x8d5bxd[_0xc959[26]],{interactionId:_0x8d5bx6[_0xc959[25]],subject:_0x8d5bxd[_0xc959[23]],accountName:_0x8d5bx6[_0xc959[27]],from:_0x8d5bxb[_0xc959[30]][_0xc959[29]](_0xc959[28]),to:_0x8d5bxb[_0xc959[31]][_0xc959[29]](_0xc959[28]),cc:_0x8d5bx6[_0xc959[32]][_0xc959[29]](_0xc959[28]),createdAt:_0x8d5bx5[_0xc959[33]]});if(_0x8d5bx6[_0xc959[35]]){return _0x8d5bx9[_0xc959[40]](_0xc959[38],[_0xc959[39],{where:{id:_0x8d5bx6[_0xc959[35]]}}])[_0xc959[22]](function(_0x8d5bx6){_0x8d5bxb[_0xc959[36]]= _0x8d5bx6[_0xc959[9]]=== _0xc959[3]?_0x8d5bx6[_0xc959[37]]:_0x8d5bx6[_0xc959[36]]})}})[_0xc959[22]](function(){logger[_0xc959[19]](_0x8d5bx6[_0xc959[9]][_0xc959[8]](),_0xc959[10],_0x8d5bx5[_0xc959[11]],_0xc959[12],_0x8d5bx5[_0xc959[13]],_0xc959[14],_0x8d5bx6[_0xc959[15]]);process[_0xc959[21]]({type:_0xc959[20],msg:_0x8d5bxb})})[_0xc959[18]](function(_0x8d5bxc){logger[_0xc959[17]](_0x8d5bx6[_0xc959[9]][_0xc959[8]](),_0xc959[10],_0x8d5bx5[_0xc959[11]],_0xc959[12],_0x8d5bx5[_0xc959[13]],_0xc959[14],_0x8d5bx6[_0xc959[15]],_0xc959[16]);logger[_0xc959[17]](_0x8d5bxc)})[_0xc959[7]](function(){_0x8d5bxa()})}
\ No newline at end of file