Fetchmail Incoming Test
fetchmail_incoming_test · OCA/mail
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
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
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
bodyHtml -
email_bccCharstring='Bcc' -
email_ccCharstring='Cc' -
email_fromChardefault=<expr>required=Truestring='From' -
email_toCharhelp='Recipient address, typically the alias routing to the target model.'required=Truestring='To' -
subjectChar
No public methods.
-
eml_fileBinaryattachment=Falsehelp='Raw message, as exported by a mail client. Usually a .eml file.'required=Truestring='Email File' -
eml_filenameChar
No public methods.
-
server_idMany2one → fetchmail.serverdefault=<expr>help='Incoming mail server this wizard was opened from.'string='Incoming Mail Server' args: 'fetchmail.server'
-
action_process(self)Feed the email to the mail gateway as a real inbound one.