0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

🐛 Fixed reply-to address not set for newsletters

closes https://github.com/TryGhost/Ghost/issues/12492

The changes to email processing models had set replyTo address for an email batch as `reply_to` instead of `replyTo` which was not picked by mailgun service for setting newsletter reply address
This commit is contained in:
Rish 2021-01-05 15:50:40 +05:30 committed by Rishabh Garg
parent 81218ab467
commit d2543462fa

View file

@ -72,7 +72,7 @@ function send(message, recipientData, replacements) {
messageData = {
to: Object.keys(recipientData),
from: message.from,
'h:Reply-To': message.replyTo,
'h:Reply-To': message.replyTo || message.reply_to,
subject: messageContent.subject,
html: messageContent.html,
text: messageContent.plaintext,