Skip to content

Commit b0ac8de

Browse files
committed
Include List-Unsubscribe-Post header.
1 parent 4452b6b commit b0ac8de

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)