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

File metadata

File hashes

Hashes for odoo_addon_mail_autogenerated_header-17.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94ee8ef80412a80501997fc7734dba3475af7bfffae1b1abcb5dc88d4fd50311
MD5 31d61741ebad73cd284532a2172556b7
BLAKE2b-256 62b215c8b3e38036bc720008e3f3864c6160ffc0ee8c3968b855a2c86c7e2892

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