Partager via


ToOrFromRuleCondition Object (Outlook)

Represents a rule condition that the sender or the recipeints of the message, as specified by ToOrFromRuleCondition.ConditionType, is in the recipients list specified in ToOrFromRuleCondition.Recipients.

Version Information

Version Added: Outlook 2007

Remarks

ToOrFromRuleCondition is derived from the RuleCondition object. Each rule is associated with a RuleConditions object which has a SentTo property and a From. Each of these properties always returns a ToOrFromRuleCondition object. ToOrFromRuleCondition.ConditionType distinguishes between these rule conditions. If the rule has any of these rule conditions enabled, then ToOrFromRuleCondition.Enabled would be True.

For more information on specifying rule conditions, see Specify Rule Conditions.

See Also

Concepts

ToOrFromRuleCondition Object Members

Outlook Object Model Reference