Verp campaign BUG fixed
This commit is contained in:
parent
b7fbc32e1e
commit
c1a9404648
1 changed files with 2 additions and 3 deletions
|
@ -347,16 +347,15 @@ class MessageSender {
|
||||||
|
|
||||||
if (campaign) {
|
if (campaign) {
|
||||||
const campaignAddress = [campaign.cid, list.cid, subscriptionGrouped.cid].join('.');
|
const campaignAddress = [campaign.cid, list.cid, subscriptionGrouped.cid].join('.');
|
||||||
|
|
||||||
if (this.useVerp) {
|
if (this.useVerp) {
|
||||||
envelope = {
|
envelope = {
|
||||||
from: campaignAddress + '@' + sendConfiguration.verp_hostname,
|
from: campaignAddress + '@' + this.sendConfiguration.verp_hostname,
|
||||||
to: subscriptionGrouped.email
|
to: subscriptionGrouped.email
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.useVerpSenderHeader) {
|
if (this.useVerpSenderHeader) {
|
||||||
sender = campaignAddress + '@' + sendConfiguration.verp_hostname;
|
sender = campaignAddress + '@' + this.sendConfiguration.verp_hostname;
|
||||||
}
|
}
|
||||||
|
|
||||||
headers['x-fbl'] = campaignAddress;
|
headers['x-fbl'] = campaignAddress;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue