Pass replyTo together with the mail data
This commit is contained in:
parent
385dca65c8
commit
bdd0d6b491
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ function formatMessage(message, callback) {
|
||||||
name: campaign.from,
|
name: campaign.from,
|
||||||
address: campaign.address
|
address: campaign.address
|
||||||
},
|
},
|
||||||
|
replyTo: campaign.replyTo,
|
||||||
xMailer: 'Mailtrain Mailer (+https://mailtrain.org)',
|
xMailer: 'Mailtrain Mailer (+https://mailtrain.org)',
|
||||||
to: {
|
to: {
|
||||||
name: [].concat(message.subscription.firstName || []).concat(message.subscription.lastName || []).join(' '),
|
name: [].concat(message.subscription.firstName || []).concat(message.subscription.lastName || []).join(' '),
|
||||||
|
|
Loading…
Reference in a new issue