XenForo currently implements (automatic) unsubscribe via
This allows users to easily unsubscribe from admin-emails by clicking the unsubscribe link in supporting email clients, this generates an email that XenForo can automatically process to unsubscribe the user.
RFC 8058: Signaling One-Click Functionality for List Email Headers is a specification that anhances the functionality of
Using HTTP POST instead of email has several advantages
So all in all this approach seems easier to setup, more flexible and more reliable than the existing implementation.
While support by mail clients is not (yet) that widespread it IMHO wouldn't hurt if this was supported
mailto
in header List-Unsubscribe
.This allows users to easily unsubscribe from admin-emails by clicking the unsubscribe link in supporting email clients, this generates an email that XenForo can automatically process to unsubscribe the user.
RFC 8058: Signaling One-Click Functionality for List Email Headers is a specification that anhances the functionality of
List-Unsubscribe
by specifying another header that allows supporting clients to issue an authenticated HTTP POST request to unsubscribe the user instead of sending an email.Using HTTP POST instead of email has several advantages
- Depending on the client, sending an email might require additional user interaction (to complete and send the email) making it more complicated for the user
- The current email-based automatic unsubscribe processing implemented by XenForo requires a dedicated mailbox
- It requires the admin to configure this dedicated email account in XenForo
- It requires the server to have the IMAP PHP extension
- It requires the server to be able to make outbound connections to the server hosting the mailbox
- Processing a HTTP POST request is much easier and more reliable than requesting & parsing emails via IMAP / POP3
So all in all this approach seems easier to setup, more flexible and more reliable than the existing implementation.
While support by mail clients is not (yet) that widespread it IMHO wouldn't hurt if this was supported
Last edited: