Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 2 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

Description

This module lets you simulate an incoming email directly from Odoo, without a real mail server or SMTP client.

It adds a Simulate Incoming Email button (and matching Action menu entry) on the Incoming Mail Server, opening a small composer (From, To, Cc, Bcc, Subject, Body). On send, the email is used as if it had been fetched from a server, it is then routed by alias and creates the target record (helpdesk ticket, lead, task, ...).

It is meant for testing mail-driven flows on environments that have no inbound mail server, like test instances.

It also adds a Replay Email File button, which takes a raw message file (usually a .eml exported from a mail client) and feeds it to the gateway untouched. Useful to reproduce how a specific email that a customer received was handled, byte for byte.

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
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 3

XML IDNameModelTypeStatus
fetchmail_incoming_test_eml_view_form fetchmail.incoming.test.eml.form fetchmail.incoming.test.eml form New
fetchmail_incoming_test_view_form fetchmail.incoming.test.form fetchmail.incoming.test form New
view_email_server_form fetchmail.server.form.incoming.test fetchmail.server form Inherits mail.view_email_server_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (6)
  • body Html
  • email_bcc Char
    string='Bcc'
  • email_cc Char
    string='Cc'
  • email_from Char
    default=<expr> required=True string='From'
  • email_to Char
    help='Recipient address, typically the alias routing to the target model.' required=True string='To'
  • subject Char
Public methods (0)

No public methods.

New fields (2)
  • eml_file Binary
    attachment=False help='Raw message, as exported by a mail client. Usually a .eml file.' required=True string='Email File'
  • eml_filename Char
Public methods (0)

No public methods.

New fields (1)
  • server_id Many2one → fetchmail.server
    default=<expr> help='Incoming mail server this wizard was opened from.' string='Incoming Mail Server' args: 'fetchmail.server'
Public methods (1)
  • action_process(self)
    Feed the email to the mail gateway as a real inbound one.