Heads up! We're moving the Shared Email Templates for Outlook documentation to our new site: email-templates.app. The new version will be ready soon, and we hope you'll love the fresh, improved experience. Thank you for your patience during this transition.
For the current email message, appointment, or meeting, this macro checks the specified field(s) for the specified condition. If the condition is met, the template is not inserted.
~%DisableIf{
"field":"from" | "to" | "cc" | "bcc" | "subject" | "location" |
"recipient_first_name" | "recipient_full_name" | "recipient_last_name" |
"sender_first_name" | "sender_full_name" | "sender_last_name" | "body",
|
"fields":["from", "to", "cc", "bcc", "subject", "location" |
"recipient_first_name", "recipient_full_name", "recipient_last_name",
"sender_first_name", "sender_full_name", "sender_last_name", "body"],
"condition":"contains" | "does_not_contain" | "contains_any_of" | "contains_none_of" | "is_equal_to" |
"is_equal_to_any_of" | "is_equal_to_none_of" | "is_empty" | "is_not_empty" | "matches" |
"does_not_match"
"value":"textvalue-mask" | "textvalue" | "regexvalue"
}
~%DisableIf{"field":"from","condition":"contains","value":"sales@"}
Please contact us here