Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Add v3.35.2
Browse files Browse the repository at this point in the history
  • Loading branch information
YannickRe committed Oct 1, 2020
1 parent 38eac7e commit 200c548
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/server/services/bulk-email/mailgun.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 200c548

Please sign in to comment.