TIP: You can type at any time to perform a new search.
Fetchmail Incoming Test
fetchmail_incoming_test · OCA/mail
- Repository
- OCA/mail · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Discuss
- Folder size
- 0.04 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/mail
- Last tracking update
- 2026-07-27 13:41:53
- Authors
- Odoo Community Association (OCA), Camptocamp
- Maintainers
- Odoo Community Association (OCA), Camptocamp
- Committers
- OCA-git-bot, oca-ci, David Gallay
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 (1)
New fields (6)
-
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
-
action_process(self)Feed the composed email to the mail gateway as a real inbound one.