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

[13.0][IMP] mass_mailing: add unsubscribe headers in mailing emails #96

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

Conversation

benwillig
Copy link

Globally a backport of odoo/odoo@c0775de where mail sent through mass mailing now have unsubscribe headers set. This requires a small update in the send method to allow email-specific headers; previously to this commit only generic headers from the mail.mail were considered.

With some fixes, notably csrf is disabled on unsubscribe route as it is now called directly as one-click, without form and csrf. This is necessary notably to allow famous email readers to include links directly in their UI.

Task-3932001 (Mail: Unsubscribe Headers Everywhere)

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@benwillig benwillig force-pushed the 13.0-mass_mailing_avoid_spam-bwi branch from ee66f64 to c9496e6 Compare May 29, 2024 14:46
Globally a backport of odoo/odoo@c0775de where mail sent through
mass mailing now have unsubscribe headers set. This requires a small update
in the send method to allow email-specific headers; previously to this commit
only generic headers from the mail.mail were considered.

With some fixes, notably csrf is disabled on unsubscribe route as it is now
called directly as one-click, without form and csrf. This is necessary notably
to allow famous email readers to include links directly in their UI.

Task-3932001 (Mail: Unsubscribe Headers Everywhere)
@benwillig benwillig force-pushed the 13.0-mass_mailing_avoid_spam-bwi branch from c9496e6 to 6cbbe84 Compare May 29, 2024 14: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.

2 participants