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

Add one click unsubscribe to notification emails #429

Open
jasoncartwright opened this issue Jan 6, 2024 · 0 comments
Open

Add one click unsubscribe to notification emails #429

jasoncartwright opened this issue Jan 6, 2024 · 0 comments

Comments

@jasoncartwright
Copy link
Member

jasoncartwright commented Jan 6, 2024

https://support.google.com/mail/answer/81126?hl=en&sjid=17887797320169880333-EU

To set up one-click unsubscribe, include both of these headers in outgoing messages:

List-Unsubscribe-Post: List-Unsubscribe=One-Click
List-Unsubscribe: https://solarmora.com/unsubscribe/example
When a recipient unsubscribes using one-click, you receive this POST request:

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

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

No branches or pull requests

1 participant