Built motion from commit 88d8eb5.|1.0.14
[motion.git] / server / config / forked_routing / mail / replymail.js
1 var _0x2673=["\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","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x75\x62\x6A\x65\x63\x74","\x72\x65\x6E\x64\x65\x72","\x66\x72\x6F\x6D","\x74\x6F","\x63\x63","\x62\x63\x63","\x61\x63\x63\x6F\x75\x6E\x74\x4E\x61\x6D\x65","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D\x49\x64","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x68\x74\x6D\x6C","\x61\x75\x74\x6F","\x72\x6F\x6F\x6D\x69\x64","\x63\x72\x65\x61\x74\x65\x4D\x61\x69\x6C","\x73\x65\x6E\x64","\x74\x68\x65\x6E","\x61\x64\x64\x72\x65\x73\x73","\x70\x75\x73\x68","\x72\x65\x70\x6C\x79\x41\x6C\x6C","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x39","\x66\x69\x6E\x64\x42\x79\x49\x64","\x64\x61\x74\x61\x38"];_0x2673[0];var fs=require(_0x2673[1]);var util=require(_0x2673[2]);var path=require(_0x2673[3]);var Mustache=require(_0x2673[4]);var MyUtil=require(_0x2673[5]);var Account=require(_0x2673[7])[_0x2673[6]];var Template=require(_0x2673[7])[_0x2673[8]];var Message=require(_0x2673[7])[_0x2673[9]];var Attachment=require(_0x2673[7])[_0x2673[10]];var config=require(_0x2673[11]);module[_0x2673[12]]= function(_0x7a18xb,_0x7a18xc,_0x7a18xd,_0x7a18xe,_0x7a18xf){var _0x7a18x10={from:[],to:[]};return Account[_0x2673[36]](_0x7a18xb[_0x2673[37]])[_0x2673[30]](function(_0x7a18x13){_0x7a18x10[_0x2673[18]][_0x2673[32]](_0x7a18x13[_0x2673[31]]);_0x7a18x10[_0x2673[19]][_0x2673[32]](_0x7a18xc[_0x2673[18]]);switch(_0x7a18xb[_0x2673[34]]){case _0x2673[33]:_0x7a18x10[_0x2673[20]]= _0x7a18xc[_0x2673[20]];break;default:};return Template[_0x2673[36]](_0x7a18xb[_0x2673[35]])})[_0x2673[30]](function(_0x7a18x12){var _0x7a18xd={subject:_0x7a18x12[_0x2673[16]]?Mustache[_0x2673[17]](_0x7a18x12[_0x2673[16]],_0x7a18xd):null,from:_0x7a18xd[_0x2673[18]],to:_0x7a18xd[_0x2673[19]],cc:_0x7a18xd[_0x2673[20]],bcc:_0x7a18xd[_0x2673[21]],accountName:_0x7a18xd[_0x2673[22]],interactionId:_0x7a18xd[_0x2673[23]],createdAt:_0x7a18xd[_0x2673[24]]};_0x7a18x10[_0x2673[16]]= _0x7a18x12[_0x2673[16]]?Mustache[_0x2673[17]](_0x7a18x12[_0x2673[16]],_0x7a18xd):null;_0x7a18x10[_0x2673[25]]= _0x7a18x12[_0x2673[25]]?Mustache[_0x2673[17]](_0x7a18x12[_0x2673[25]],_0x7a18xd):null;_0x7a18x10[_0x2673[26]]= true;_0x7a18x10[_0x2673[23]]= _0x7a18xc[_0x2673[27]];process[_0x2673[29]]({type:_0x2673[28],msg:_0x7a18x10})})[_0x2673[15]](function(_0x7a18x11){console[_0x2673[14]](_0x7a18x11)})[_0x2673[13]](function(){_0x7a18xf()})}