Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | protected function addUnsubscribeHeaders() |
||
45 | { |
||
46 | $this->withSwiftMessage(function ($message) { |
||
47 | $message->getHeaders() |
||
48 | ->addTextHeader('List-Unsubscribe-Post', 'List-Unsubscribe=One-Click'); |
||
49 | $message->getHeaders() |
||
50 | ->addTextHeader('List-Unsubscribe', '<' . $this->campaignSend->unsubscribeUrl() . '>'); |
||
51 | }); |
||
52 | |||
53 | return $this; |
||
54 | } |
||
55 | } |
||
56 |