Skip to content

AddHeaderAction

Source code in docs_src/capo_mailmanager/types/add_header_action.py
class AddHeaderAction(TypedDict, closed=True):
    header_name: "capo_mailmanager.types.header_name.HeaderName"
    """<p>The name of the header to add to an email. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.</p>"""
    header_value: "capo_mailmanager.types.header_value.HeaderValue"
    """<p>The value of the header to add to the email.</p>"""

header_name instance-attribute

header_name: HeaderName

The name of the header to add to an email. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.

header_value instance-attribute

header_value: HeaderValue

The value of the header to add to the email.