Skip to content

RuleDmarcExpression

Source code in docs_src/capo_mailmanager/types/rule_dmarc_expression.py
class RuleDmarcExpression(TypedDict, closed=True):
    operator: "capo_mailmanager.types.rule_dmarc_operator.RuleDmarcOperator"
    """<p>The operator to apply to the DMARC policy of the incoming email.</p>"""
    values: "capo_mailmanager.types.rule_dmarc_value_list.RuleDmarcValueList"
    """<p>The values to use for the given DMARC policy operator. For the operator EQUALS, if multiple values are given, they are evaluated as an OR. That is, if any of the given values match, the condition is deemed to match. For the operator NOT_EQUALS, if multiple values are given, they are evaluated as an AND. That is, only if the email's DMARC policy is not equal to any of the given values, then the condition is deemed to match.</p>"""

operator instance-attribute

The operator to apply to the DMARC policy of the incoming email.

values instance-attribute

The values to use for the given DMARC policy operator. For the operator EQUALS, if multiple values are given, they are evaluated as an OR. That is, if any of the given values match, the condition is deemed to match. For the operator NOT_EQUALS, if multiple values are given, they are evaluated as an AND. That is, only if the email's DMARC policy is not equal to any of the given values, then the condition is deemed to match.