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) {
|
||||
const campaignAddress = [campaign.cid, list.cid, subscriptionGrouped.cid].join('.');
|
||||
|
||||
if (this.useVerp) {
|
||||
envelope = {
|
||||
from: campaignAddress + '@' + sendConfiguration.verp_hostname,
|
||||
from: campaignAddress + '@' + this.sendConfiguration.verp_hostname,
|
||||
to: subscriptionGrouped.email
|
||||
};
|
||||
}
|
||||
|
||||
if (this.useVerpSenderHeader) {
|
||||
sender = campaignAddress + '@' + sendConfiguration.verp_hostname;
|
||||
sender = campaignAddress + '@' + this.sendConfiguration.verp_hostname;
|
||||
}
|
||||
|
||||
headers['x-fbl'] = campaignAddress;
|
||||
|
|
Loading…
Reference in a new issue