diff --git a/core/server/services/bulk-email/mailgun.js b/core/server/services/bulk-email/mailgun.js index a3682bdfd1..83b336ac9b 100644 --- a/core/server/services/bulk-email/mailgun.js +++ b/core/server/services/bulk-email/mailgun.js @@ -59,7 +59,7 @@ function send(message, recipientData, replacements) { const bulkEmailConfig = configService.get('bulkEmail'); const mailgunInstance = getInstance(); - const messageContent = _.pick(message, 'html', 'plaintext'); + const messageContent = _.pick(message, 'subject', 'html', 'plaintext'); // update content to use Mailgun variable syntax for replacements replacements.forEach((replacement) => { @@ -74,6 +74,7 @@ function send(message, recipientData, replacements) { from: message.from, 'h:Reply-To': message.replyTo, 'recipient-variables': recipientData, + subject: messageContent.subject, html: messageContent.html, text: messageContent.plaintext }; diff --git a/package.json b/package.json index bad6ef8df7..da8a9f6bbf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ghost", - "version": "3.35.1", + "version": "3.35.2", "description": "The professional publishing platform", "author": "Ghost Foundation", "homepage": "https://ghost.org",