From d2543462fa095a18bdd5ee87ed241ec1f6f80d25 Mon Sep 17 00:00:00 2001 From: Rish Date: Tue, 5 Jan 2021 15:50:40 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20reply-to=20address=20not?= =?UTF-8?q?=20set=20for=20newsletters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- core/server/services/bulk-email/mailgun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/services/bulk-email/mailgun.js b/core/server/services/bulk-email/mailgun.js index 8713d8afee..bb27ad9fbc 100644 --- a/core/server/services/bulk-email/mailgun.js +++ b/core/server/services/bulk-email/mailgun.js @@ -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,