remove header

Vincent

New Member
Hello

I want to remove header like

XCampaign-Uid: de615a8l14371
XSubscriber-Uid: cc025z0dfo855
XCustomer-Uid: nt142crzembca
XCustomer-Gid: 0
XDelivery-Sid: 11
XTracking-Did: 7
List-Unsubscribe:

I have try to comment CampaignSenderBehavior.php

Do you have solution to remove header ?

Have a nice day

Vincent
 
If you remove those headers then you'll get various errors while processing bounces and what not.
 
i tried in 1.3.8.6 version first.
and then in 1.4.3 only adding // before array in mention file worked.
if i remove more headers then will it cause trouble to MW?
i dont need tracking
 
Hi, am trying to Remove list-unsubscribe in header in ( MW version 2.2.14 ) I tried this by putting // before array, My message are not sending out after, they are just showing sending (0%).

Here is what i found there below

// since 1.3.5.9
/** @var array $emailParams */
$emailParams = (array)hooks()->applyFilters('console_command_send_campaigns_before_send_to_subscriber', $emailParams, $campaign, $subscriber, $customer, $server);


Here is where I added the //

// since 1.3.5.9
/** @var array $emailParams */
$emailParams = //(array)hooks()->applyFilters('console_command_send_campaigns_before_send_to_subscriber', $emailParams, $campaign, $subscriber, $customer, $server);

I need to know if am doing anything wrong.
 
Hi, am trying to Remove list-unsubscribe in header in ( MW version 2.2.14 ) I tried this by putting // before array, My message are not sending out after, they are just showing sending (0%).

Here is what i found there below

// since 1.3.5.9
/** @var array $emailParams */
$emailParams = (array)hooks()->applyFilters('console_command_send_campaigns_before_send_to_subscriber', $emailParams, $campaign, $subscriber, $customer, $server);


Here is where I added the //

// since 1.3.5.9
/** @var array $emailParams */
$emailParams = //(array)hooks()->applyFilters('console_command_send_campaigns_before_send_to_subscriber', $emailParams, $campaign, $subscriber, $customer, $server);
That is not correct. Please read here... https://forum.mailwizz.com/threads/remove-list-unsubscribe-in-header.3859/ .
Never modify core files.

Cosmin
 
Back
Top