Faster and cancellable outgoing messages
Project description
This module enhances mail threads by using the mail queue by default.
Without this module, Odoo attempts to notify recipients of your message immediately. If your mail server is slow or you have many followers, this can mean a lot of time. Install this module and make Odoo more snappy!
All emails will be kept in the outgoing queue by at least 30 seconds, giving you some time to re-think what you wrote. During that time, you can still delete the message and start again.
Table of contents
Configuration
You need to do nothing. The module is configured appropriately out of the box.
The mail queue processing is made by a cron job. This is normal Odoo behavior, not specific to this module. However, since you will start using that queue for every message posted by any user in any thread, this module configures that job to execute every minute by default.
You can still change that cadence after installing the module (although it is not recommended). To do so:
Log in with an administrator user.
Activate developer mode.
Go to Settings > Technical > Automation > Scheduled Actions.
Edit the action named “Mail: Email Queue Manager”.
Lower down the frequency in the field Execute Every. Recommended: 1 minute.
Usage
To use this module, you need to:
Go to the form view of any record that has a mail thread. It can be a partner, for example.
Post a message.
The mail is now in the outgoing mail queue. It will be there for at least 30 seconds. It will be really sent the next time the “Mail: Email Queue Manager” cron job is executed.
While the message has not been yet sent:
Hover over the little envelope. You will see a paper airplane icon, indicating it is still outgoing.
Hover over the message and click on the little trash icon to delete it. Mails will not be sent.
Known issues / Roadmap
Add minimal deferring time configuration if it ever becomes necessary. See https://github.com/OCA/social/pull/1001#issuecomment-1461581573 for the rationale behind current hardcoded value of 30 seconds.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Jairo Llopis (https://www.moduon.team/)
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/social project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo_addon_mail_post_defer-16.0.1.1.2-py3-none-any.whl
.
File metadata
- Download URL: odoo_addon_mail_post_defer-16.0.1.1.2-py3-none-any.whl
- Upload date:
- Size: 50.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79fcd21f4183a3a465de2748c4b4d2e5a2ac35c510eca8332f26d0241aa40833 |
|
MD5 | 007817d9b3c56ba2192bcb382e1c3adc |
|
BLAKE2b-256 | 2535b3705d27f9edf137246510c56b477a03585b7a52d558ee2917ab1ee890d3 |