Hello,
I am an intern in charge of testing Odoo for the company I am in. I messed up with an odoo studio automatisation and sent a wrong email to some companies.
I would like to know if it is possible to "cancel" the recepetion of the email for these companies.
When I tested the automation with my email, I did not receive the email instantly, so there is time before the companies receive the email.
Between the automatisation being tiggered and the reception, is it possible to stop OdooBot from sending the email to the companies, or is this too late ? Do I just delete my Odoo ?
I know there is little chance that there is a solution to the problem, but I'm asking just in case.
Also, I'm a beginner with Odoo and don't know a lot at all, I use it on web to test things. I hope my english is
readable.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Working on a tight schedule here, sorry if it's to late for you already.
Messages that are not sent instantly but are 'planned' to be sent can be found in
Settings -> Technical --> Email -> Emails
Not yet sent mails listed here can be deleted if necessary.
You need to enable Developer Mode in order to see the Technical-menu in Settings first (https://www.odoo.com/documentation/18.0/applications/general/developer_mode.html).
It good practice to not use actual mail addresses in any evaluation phase with any software. If you, for what ever reason must to do, you can configure a 'Dummy SMTP Server' to prevent mails from actually being sent, regardless of them being (meant to be) sent instantly or based on the schedule. To do so, again go to Settings -> Technical, then --> Email -> Outgoing Mail Servers.
Here you can create a new record - any invalid data will do. Odoo will then try to send emails via this SMTP server - and ultimately fail to do so.
See also https://www.odoo.com/documentation/18.0/applications/general/email_communication/email_servers_outbound.html
Also, one may deactivate the scheduled action responsible for sending non-instantaneous emails. To do so, again go to Settings -> Technical, then --> Automation -> Scheduled Actions. Search 'Mail: Email Queue Manager' and set it to not Active (be aware that this won't catch all mails possibly sent!).
Alternatively, when running an on-premise or odoo.sh setup: create a 'neutralized' backup of the actual database and work in that one (which is pretty much a combination of all of above). See also https://www.odoo.com/documentation/18.0/administration/neutralized_database.html
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Thank you for your answer, unfortunately the database has been deleted before I saw your message. Now I feel stupid for both messing with the mails and not waiting longer for an answer. I'll definitely try to create a neutralized backup. Thanks again for the help.