Add support for One-Click unsubscribing according to RFC8058#3
Add support for One-Click unsubscribing according to RFC8058#3twoleds wants to merge 1 commit intoremp2020:masterfrom
Conversation
|
Hi, thanks for the PR. The change itself sounds reasonable and looks OK to me. If it's used against REMP Mailer module in CRM, it really does what it's supposed to do. However (as you already mentioned) there needs to be additional level of control for users who have their own CRM, or their own unsubscribe landing page. Those people should enable this only when they're sure, that For example when user clicks our unsubscribe button, we present the message with option to pause their newsletter subscriptions for a month instead of full unsubscribe. User is not unsubscribed right away (not even if it's a I'd say that this could be a seeded config option, which would be configurable on the
If you have more spare time, you can try to add this to the PR. If not, we can take over once we're available 🙂 . |
|
I'll try to play with it. |
25ec8c9 to
d2a5838
Compare
|
Looks good, we'll test it. Thanks! The "recipient" replacement occurs in Mailgun by Mailgun, we'll test that with our sandbox account, don't worry :). |
|
Hi, this is now merged in the master branch and will be part of the next-week release. Since this is only mirrored repository split from our monorepo, We'll be linking the split commit here next time we split the repository. Thanks for the contribution! :) |

I would like to add the 'List-Unsubscribe-Post' header to emails according to the RFC8085 standard. I've drafted some code, but I'm unsure whether to send it like this directly or make it configurable in some way. When I looked at the code of the CRM module for the mailer (https://github.com/remp2020/crm-remp-mailer-module/blob/13a06bf1251070fc00a1fae77eb330deb7ad005f/src/Presenters/MailSettingsPresenter.php#L81), it complies with the standard for unsubscribing from newsletters.
More information about the new header:
https://datatracker.ietf.org/doc/html/rfc8058
https://aws.amazon.com/blogs/messaging-and-targeting/an-overview-of-bulk-sender-changes-at-yahoo-gmail/
https://blog.google/products/gmail/gmail-security-authentication-spam-protection/
Gmail’s FAQ and Yahoo’s FAQ both clarify that the one-click unsubscribe requirement will not be enforced until June 2024 as long as the bulk sender has a functional unsubscribe link clearly visible in the footer of each message.