TIP: You can type at any time to perform a new search.
Mail Recipient Blocklist
mail_recipient_blocklist · OCA/mail
- Repository
- OCA/mail · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Discuss
- Folder size
- 0.21 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/mail
- Last tracking update
- 2026-07-24 10:55:24
- Authors
- Tecnativa, Odoo Community Association (OCA)
- Maintainers
- Tecnativa, Odoo Community Association (OCA)
- Committers
- sergio-teruel, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Blocks outgoing emails addressed to recipients matching configurable block rules. Rules can match exact emails, domains, contained text, wildcard patterns or regular expressions. The block is enforced both on queued Odoo emails (`mail.mail`) and on direct SMTP deliveries (`ir.mail_server`).
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mail_recipient_block_rule_view_form |
mail.recipient.block.rule.form | mail.recipient.block.rule | form | New |
mail_recipient_block_rule_view_list |
mail.recipient.block.rule.list | mail.recipient.block.rule | list | New |
mail_recipient_block_rule_view_search |
mail.recipient.block.rule.search | mail.recipient.block.rule | search | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (0)
No new fields.
Public methods (1)-
send_email(self, message, *args, **kwargs)
New fields (0)
No new fields.
Public methods (1)-
send(self, auto_commit=False, raise_exception=False, post_send_callback=None)
New fields (6)
-
activeBooleandefault=True -
nameCharrequired=Truetranslate=True -
notesText -
patternCharrequired=True -
pattern_typeSelectiondefault='contains'required=Trueselection=[('exact', 'Exact email'), ('domain', 'Domain'), ('contains', 'Contains'), ('wildcard', 'Wildcard'), ('regex', 'Regular expression')] -
sequenceIntegerdefault=10
No public methods.