One click unsubscribe link with post variable possible in phpList?

Hi,

a potential hosting provider is requiring a specific form of one-click unsubscription link/button for all sent newsletters, as per https://www.ietf.org/rfc/rfc8058.txt and as part of the CSA (certified senders alliance) standard, which in turn whitelists newsletters for some larger email providers.

So my question is: can this be done with phpList?

This is the example they give:

List-Unsubscribe: mailto:listrequest@example.com?subject=unsubscribe,
https://example.com/unsubscribe.html?opaque=123456789
List-Unsubscribe-Post: List-Unsubscribe=One-Click

And this would be the post request generated:

POST /unsubscribe.html?opaque=123456789 HTTP/1.1
Host: example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 26
List-Unsubscribe=One-Click

Can phpList work with such a post request variable and directly unsubscribe a user without him having to click another button?

Thanks for your help!

@ts.mz2 phplist doesn’t support using mailto: for the unsubscribe link, only the HTTP URL. Presumably you have already looked at the headers of an email sent by phplist.

I would expect that the content of the POST request would depend on the email client which submits that, such as Yahoo or Gmail, so it is not controlled by phplist.

Thanks for the info =)