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.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_mail_autogenerated_header-16.0.1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6dd7cc28cf7666c6f64801a0de611102e4db64facf8891511308d0323d3fa932
MD5 b05a528f52d7a0f3624e4cb9d5ce6f98
BLAKE2b-256 8103c07b791883cda12efe6e757bc8448b76cecc086c1f8c483727fc0046aac5

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