Verp campaign BUG fixed

This commit is contained in:
root 2019-08-06 09:37:02 +02:00
parent b7fbc32e1e
commit c1a9404648

View file

@ -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;