-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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)
- Loading branch information
1 parent
4aa2355
commit 1ce0139
Showing
3 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters