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

bulk emails: one-click unsubscribe #112

Open
kapouer opened this issue Mar 9, 2022 · 0 comments
Open

bulk emails: one-click unsubscribe #112

kapouer opened this issue Mar 9, 2022 · 0 comments

Comments

@kapouer
Copy link
Member

kapouer commented Mar 9, 2022

Utilisez la procédure de désabonnement en un clic
Pour permettre aux destinataires de se désabonner lorsqu'ils sont dans Gmail, configurez la procédure de désabonnement en un clic. Incluez un ou les deux en-têtes suivants dans vos messages :

List-Unsubscribe-Post : List-Unsubscribe=One-Click
List-Unsubscribe : https://solarmora.com/unsubscribe/exemple

Si vous incluez les deux en-têtes, Gmail utilise celui qui est indiqué en premier.

Lorsqu'un destinataire se désabonne à l'aide de la procédure en un clic, vous recevez la requête POST suivante :

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