mail_extra_header
Allows defining custom extra email headers per mail server and applying them to outgoing emails.
Key Features
- ir.mail_server: Extra headers can be configured on each mail server as a Python dictionary of header names and values.
- ir.mail_server: Extra headers are validated to ensure they are a parseable dictionary with string keys and string values.
- mail sending: Outgoing emails automatically inject the configured extra headers from the selected mail server, relying on the provided server or From-based detection to pick the right one.