Repository
OCA/mail · module folder · Try on Runboat
Module version
1.0.2
Category
Discuss
Folder size
0.14 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/mail
Last tracking update
2026-08-07 08:42:57
Authors
Odoo Community Association (OCA), Therp BV
Maintainers
Odoo Community Association (OCA), Therp BV
Committers
LauraCForgeFlow, Weblate, OCA-git-bot, oca-ci, Arnau, Nikolas Zimmermann
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
extract_msg
System dependencies
None
Required by
None
Description
This module was written to allow users to drag&drop emails from their
desktop to Odoo.

It supports as well RFC822 .eml files as Outlook .msg (those only if [an
extra library](https://github.com/mattgwwalker/msg-extractor) is
installed) files.

When the mail is dropped to an odoo record, it will automatically send a
notification of that new message that has been added to all the existing
followers. It is possible to disable this notification.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.mail res.config.settings form Inherits mail.res_config_settings_view_form
HTTP endpoints (1)
Route(s)HandlerAuthTypeMethodsFlags
/mail/attachment/upload AttachmentController.mail_attachment_upload public http POST
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • read_mail_file_content(self, file_name, raw_content, res_id, res_model)

New fields (0)

No new fields.

Public methods (3)
  • message_drop(self, model, message, custom_values=None, save_original=False, strip_attachments=False, thread_id=None)
    @api.model
  • message_drop_existing(self, model, message, custom_values=None, save_original=False, strip_attachments=False, thread_id=None)
    @api.model
  • message_process_msg(self, model, message, custom_values=None, save_original=False, strip_attachments=False, thread_id=None)
    @api.model
    Convert message to RFC2822 and pass to message_process

New fields (1)
  • disable_notify_mail_drop_target Boolean
    config_parameter='mail_drop_target.disable_notify' help='When this setting is set, when a user drops an email into an existing thread the followers of the thread will not be notified. This sets an ir.config.parameter mail_drop_target.disable_notify' args: 'Disable Notification followers on mail dropped to a Thread'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…