Skip to main content

Add headers to Odoo's mails indicating they are autogenerated

Project description

Odoo Community Association

Autogenerated headers

Beta License: AGPL-3 OCA/social Translate me on Weblate Try me on Runboat

This module was written to mark Odoo’s emails as being autogenerated according to RFC 3834, section 5. This allows receiving mail servers to act accordingly by for example not sending a vacation autoreply.

On the receiving side, this module drops all notifications for autogenerated incoming e-mails.

The combination of both avoids possible mail loops with misconfigured or broken email servers on the opposite side.

Table of contents

Usage

For sending outgoing emails, users can change the config parameter mail_autogenerated_header.allow_autogenerated_outgoing to False to avoid any outgoing emails being marked as autogenerated. For only avoiding in certain cases, developers can set the context flag mail_autogenerated_header_disable in calls to send_email in order to suppress adding any autogenerated headers.

For receiving incoming emails, developers can override the method _message_route_process_autoreply to fine tune dropping autogenerated mails per model.

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

Authors

  • Hunki Enterprises BV

  • Therp BV

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_mail_autogenerated_header-16.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_mail_autogenerated_header-16.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e742be10d08777c9355671cc6488a55254bb4380ac1a82bdaea3c15b7295b068
MD5 9052aa0aabb4fec139c6cd6f8eeb444d
BLAKE2b-256 5f03c2ca242a4aacc4cc76f09d2f9ffad9259fc64118bb7cfd6e5eee5ea31276

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page