Built motion from commit 76eb00b9e.|1.0.24
[motion.git] / server / config / forked_routing / openchannel / sendmail.js
index f4616a0..682211d 100644 (file)
@@ -1 +1 @@
-var _0x6ae1=["\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","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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","\x73\x74\x61\x63\x6B","\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","\x68\x74\x6D\x6C","\x72\x6F\x6F\x6D\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x2C\x20","\x6A\x6F\x69\x6E","\x66\x72\x6F\x6D","\x74\x6F","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x72\x65\x6E\x64\x65\x72","\x61\x64\x64\x72\x65\x73\x73","\x70\x75\x73\x68","\x64\x61\x74\x61\x32","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x6ae1[0];var fs=require(_0x6ae1[1]);var util=require(_0x6ae1[2]);var path=require(_0x6ae1[3]);var Mustache=require(_0x6ae1[4]);var logger=require(_0x6ae1[6])(_0x6ae1[5]);var MyUtil=require(_0x6ae1[7]);var Account=require(_0x6ae1[9])[_0x6ae1[8]];var Template=require(_0x6ae1[9])[_0x6ae1[10]];var Message=require(_0x6ae1[9])[_0x6ae1[11]];var Attachment=require(_0x6ae1[9])[_0x6ae1[12]];var config=require(_0x6ae1[13]);module[_0x6ae1[14]]= function(_0xdf88xc,_0xdf88xd,_0xdf88xe,_0xdf88xf,_0xdf88x10){var _0xdf88x11={from:[],to:[],auto:true};return Account[_0x6ae1[46]](_0xdf88xc[_0x6ae1[19]])[_0x6ae1[31]](function(_0xdf88x14){_0xdf88x11[_0x6ae1[38]][_0x6ae1[44]](_0xdf88x14[_0x6ae1[43]]);_0xdf88x11[_0x6ae1[39]][_0x6ae1[44]](_0xdf88xc[_0x6ae1[45]]);return Template[_0x6ae1[46]](_0xdf88xc[_0x6ae1[21]])})[_0x6ae1[31]](function(_0xdf88x13){_0xdf88x11[_0x6ae1[32]]= _0xdf88x13[_0x6ae1[32]];_0xdf88x11[_0x6ae1[33]]= Mustache[_0x6ae1[42]](_0xdf88x13[_0x6ae1[33]],{interactionId:_0xdf88xd[_0x6ae1[34]],subject:_0xdf88x13[_0x6ae1[32]],accountName:_0xdf88xd[_0x6ae1[35]],from:_0xdf88x11[_0x6ae1[38]][_0x6ae1[37]](_0x6ae1[36]),to:_0xdf88x11[_0x6ae1[39]][_0x6ae1[37]](_0x6ae1[36]),createdAt:_0xdf88xc[_0x6ae1[40]],body:_0xdf88xe[_0x6ae1[41]]})})[_0x6ae1[31]](function(){logger[_0x6ae1[28]](_0xdf88xd[_0x6ae1[17]][_0x6ae1[16]](),_0x6ae1[18],_0xdf88xc[_0x6ae1[19]],_0x6ae1[20],_0xdf88xc[_0x6ae1[21]],_0x6ae1[22],_0xdf88xd[_0x6ae1[23]]);process[_0x6ae1[30]]({type:_0x6ae1[29],msg:_0xdf88x11})})[_0x6ae1[27]](function(_0xdf88x12){logger[_0x6ae1[25]](_0xdf88xd[_0x6ae1[17]][_0x6ae1[16]](),_0x6ae1[18],_0xdf88xc[_0x6ae1[19]],_0x6ae1[20],_0xdf88xc[_0x6ae1[21]],_0x6ae1[22],_0xdf88xd[_0x6ae1[23]],_0x6ae1[24]);logger[_0x6ae1[25]](_0xdf88x12[_0x6ae1[26]])})[_0x6ae1[15]](function(){_0xdf88x10()})}
\ No newline at end of file
+var _0x1c46=["\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","\x6F\x70\x65\x6E\x63\x68\x61\x6E\x6E\x65\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x6C\x6F\x67\x67\x65\x72\x2E\x6A\x73","\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","\x73\x74\x61\x63\x6B","\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","\x68\x74\x6D\x6C","\x72\x6F\x6F\x6D\x69\x64","\x61\x63\x63\x6F\x75\x6E\x74\x6E\x61\x6D\x65","\x66\x72\x6F\x6D","\x74\x6F","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x62\x6F\x64\x79","\x72\x65\x6E\x64\x65\x72","\x61\x64\x64\x72\x65\x73\x73","\x70\x75\x73\x68","\x64\x61\x74\x61\x32","\x66\x69\x6E\x64\x42\x79\x49\x64"];_0x1c46[0];var fs=require(_0x1c46[1]);var util=require(_0x1c46[2]);var path=require(_0x1c46[3]);var Mustache=require(_0x1c46[4]);var logger=require(_0x1c46[6])(_0x1c46[5]);var MyUtil=require(_0x1c46[7]);var Account=require(_0x1c46[9])[_0x1c46[8]];var Template=require(_0x1c46[9])[_0x1c46[10]];var Message=require(_0x1c46[9])[_0x1c46[11]];var Attachment=require(_0x1c46[9])[_0x1c46[12]];var config=require(_0x1c46[13]);module[_0x1c46[14]]= function(_0xa6cbxc,_0xa6cbxd,_0xa6cbxe,_0xa6cbxf,_0xa6cbx10){var _0xa6cbx11={from:[],to:[],auto:true};return Account[_0x1c46[44]](_0xa6cbxc[_0x1c46[19]])[_0x1c46[31]](function(_0xa6cbx14){_0xa6cbx11[_0x1c46[36]][_0x1c46[42]](_0xa6cbx14[_0x1c46[41]]);_0xa6cbx11[_0x1c46[37]][_0x1c46[42]](_0xa6cbxc[_0x1c46[43]]);return Template[_0x1c46[44]](_0xa6cbxc[_0x1c46[21]])})[_0x1c46[31]](function(_0xa6cbx13){_0xa6cbx11[_0x1c46[32]]= _0xa6cbx13[_0x1c46[32]];_0xa6cbx11[_0x1c46[33]]= Mustache[_0x1c46[40]](_0xa6cbx13[_0x1c46[33]],{OpenchannelRoomId:_0xa6cbxd[_0x1c46[34]],subject:_0xa6cbx13[_0x1c46[32]],accountName:_0xa6cbxd[_0x1c46[35]],from:_0xa6cbxe[_0x1c46[36]],to:_0xa6cbxe[_0x1c46[37]],createdAt:_0xa6cbxc[_0x1c46[38]],body:_0xa6cbxe[_0x1c46[39]]})})[_0x1c46[31]](function(){logger[_0x1c46[28]](_0xa6cbxd[_0x1c46[17]][_0x1c46[16]](),_0x1c46[18],_0xa6cbxc[_0x1c46[19]],_0x1c46[20],_0xa6cbxc[_0x1c46[21]],_0x1c46[22],_0xa6cbxd[_0x1c46[23]]);process[_0x1c46[30]]({type:_0x1c46[29],msg:_0xa6cbx11})})[_0x1c46[27]](function(_0xa6cbx12){logger[_0x1c46[25]](_0xa6cbxd[_0x1c46[17]][_0x1c46[16]](),_0x1c46[18],_0xa6cbxc[_0x1c46[19]],_0x1c46[20],_0xa6cbxc[_0x1c46[21]],_0x1c46[22],_0xa6cbxd[_0x1c46[23]],_0x1c46[24]);logger[_0x1c46[25]](_0xa6cbx12[_0x1c46[26]])})[_0x1c46[15]](function(){_0xa6cbx10()})}
\ No newline at end of file