Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include List-Unsubscribe-Post header to indicate one-click functionality #617

merged 1 commit into from Dec 6, 2019


Copy link

bramley commented Dec 5, 2019

Looking at an email that was sent from Mailchimp there was a List-Unsubscribe-Post header that I had not noticed previously.

List-Unsubscribe: <>, <>
List-Unsubscribe-Post: List-Unsubscribe=One-Click

The purpose of that header, explained in, is to provide a signal that the List-Unsubscribe header field has one-click functionality, which phplist does have because of the jo parameter. An example

List-Unsubscribe: <http://strontian/lists/?p=unsubscribe&uid=1bbf5b37bbb1df69698c4b89e1429474&jo=1>

Adding this header can have a positive effect in making mail systems display an Unsubscribe button or link. Testing this with my Yahoo account using the Android Yahoo app, without the header Yahoo did not offer an unsubscribe option, but with the header it did.
Clicking the Unsubscribe option did then trigger the unsubscription.


Related Issue

Screenshots (if appropriate):


@suelaP suelaP merged commit a0f3f59 into phpList:master Dec 6, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
@bramley bramley deleted the bramley:list-unsubscribe-post branch Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.