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/mail Translate me on Weblate Try me on Runboat

This module was written to mark Odoo’s emails as being autogenerated according to RFC 3834 <https://tools.ietf.org/html/rfc3834>_, 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/mail 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-18.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_mail_autogenerated_header-18.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b636dc5e56291da347f18381ab2692bf15ba02092b4afc4ef2b078d3a61e2d3
MD5 7b495a90d3bd25cbf6297caf11a02eb4
BLAKE2b-256 fd7a70fb67e00402d66832f734010932515e5a2550759977cea6586aa8e2fff7

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