Default Thread For Unbounded Emails
fetchmail_thread_default · OCA/social
-
Security25/25No findings
-
Activity20/25Last human commit 7 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 7 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module extends the functionality of mail fetching to support choosing a mail thread that acts as a mail sink and gathers all mail messages that Odoo does not know where to put.
Dangling emails are really a problem because if you do not care about them, SPAM can enter your inbox and keep increasing fetchmail process network quota because Odoo would gather them every time it runs the fetchmail process.
Before this, your only choice was to create a new record for those
unbounded emails. That could be useful under some circumstances, like
creating a crm.lead for them, but what happens if you do not want to
have lots of spammy leads? Or if you do not need Odoo's CRM at all?
Here we come to the rescue. This simple addons adds almost none dependencies and allows you to direct those mails somewhere you can handle or ignore at wish.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_email_server_form |
Add default thread | fetchmail.server | form | Inherits mail.view_email_server_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
-
default_thread_idReferencehelp='Messages with no clear route will be posted as a new message to this thread.'selection='_get_thread_models'string='Default mail thread'
-
onchange_server_type(self)@api.onchange('server_type', 'is_ssl', 'object_id')Remove :attr:`default_thread_id` if there is :attr:`object_id`.
No new fields.
Public methods (1)-
message_process(self, model, message, custom_values=None, save_original=False, strip_attachments=False, thread_id=None)@api.model
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…