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
merged 1 commit into from Dec 6, 2019

Conversation

@bramley
Copy link
Contributor

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: <https://ianvisits.us19.list-manage.com/unsubscribe?u=7c0eed00da5d863f228529675&id=1c15e553b2&e=ceacaa0bc4&c=3aed3f5a59>, <mailto:unsubscribe-mc.us19_7c0eed00da5d863f228529675.3aed3f5a59-ceacaa0bc4@mailin.mcsv.net?subject=unsubscribe>
List-Unsubscribe-Post: List-Unsubscribe=One-Click

The purpose of that header, explained in https://tools.ietf.org/html/rfc8058, 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.

Description

Related Issue

Screenshots (if appropriate):

Screenshot_20191205-104315

@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
Details
@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
Projects
None yet
2 participants
You can’t perform that action at this time.