Skip to content

Commit a0f3f59

Browse files
authored
Merge pull request #617 from bramley/list-unsubscribe-post
Include List-Unsubscribe-Post header to indicate one-click functionality
2 parents 4cf9016 + b0ac8de commit a0f3f59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public_html/lists/admin/sendemaillib.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ function sendEmail($messageid, $email, $hash, $htmlpref = 0, $rssitems = array()
752752
}
753753
$mail->addCustomHeader('List-Help: <'.$text['preferences'].'>');
754754
$mail->addCustomHeader('List-Unsubscribe: <'.$text['jumpoffurl'].'>');
755+
$mail->addCustomHeader('List-Unsubscribe-Post: List-Unsubscribe=One-Click');
755756
$mail->addCustomHeader('List-Subscribe: <'.getConfig('subscribeurl').'>');
756757
$mail->addCustomHeader('List-Owner: <mailto:'.getConfig('admin_address').'>');
757758

0 commit comments

Comments
 (0)