|
|
@ -73,7 +73,7 @@ socket.on('msgmgr:event', async (eventType, eventData) => {
|
|
|
|
case 'response': {
|
|
|
|
case 'response': {
|
|
|
|
const [msgId, response] = eventData
|
|
|
|
const [msgId, response] = eventData
|
|
|
|
if (!!ingressMap[msgId]) {
|
|
|
|
if (!!ingressMap[msgId]) {
|
|
|
|
ingressMap[ msgId ][2].push(`${ uuid } response ${ response }`)
|
|
|
|
ingressMap[ msgId ][2].push(`response ${ response }`)
|
|
|
|
//const [ replyTo, subject, logArray ] = ingressMap[msgId]
|
|
|
|
//const [ replyTo, subject, logArray ] = ingressMap[msgId]
|
|
|
|
let info = await smtpTransporter.sendMail({
|
|
|
|
let info = await smtpTransporter.sendMail({
|
|
|
|
from: `"msg-email--smartpager 👻" <${ config.smtp.user }>`,
|
|
|
|
from: `"msg-email--smartpager 👻" <${ config.smtp.user }>`,
|
|
|
|