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

[14.0][IMP] mass_mailing: add unsubscribe headers in mailing emails #1232

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

Commits on May 28, 2024

  1. [IMP] mass_mailing: add unsubscribe headers in mailing emails

    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)
    tde-banana-odoo authored and qgroulard committed May 28, 2024
    Configuration menu
    Copy the full SHA
    23dc578 View commit details
    Browse the repository at this point in the history