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

Support one click unsubscribe #168

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asmega
Copy link

@asmega asmega commented Dec 3, 2024

Context

  • Support one_click_unsubscribe_url used by official notify client

Changes

  • one_click_unsubscribe_url can now be passed to mailer which forwards onto official notify client
  • Modified some tests which were duplicated across multiple blocks
  • Updated README to document the new feature

Review notes

  • I've tested this locally with scoped notify key and it addded the following headers (obfuscated)
List-Unsubscribe: <https://localhost:3000/some/end/point?opaque=123>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
  • Unfortunately the email client I have access to is either pants, doesn't support it or I can't figure out how to turn it on so couldn't do full end to end

@asmega asmega force-pushed the one-click-unsubscribe branch from 270ba89 to bc8c25a Compare December 3, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant