Pass replyTo together with the mail data

This commit is contained in:
Johannes Zellner 2016-11-25 18:10:13 +01:00
parent 385dca65c8
commit bdd0d6b491

View file

@ -333,6 +333,7 @@ function formatMessage(message, callback) {
name: campaign.from,
address: campaign.address
},
replyTo: campaign.replyTo,
xMailer: 'Mailtrain Mailer (+https://mailtrain.org)',
to: {
name: [].concat(message.subscription.firstName || []).concat(message.subscription.lastName || []).join(' '),