InboxRule.CreateRuleDeleteContaining

InboxRule.CreateRuleDeleteContaining method

Creates inbox rule that deletes messages containing the specified strings in either the body or the subject

public static InboxRule CreateRuleDeleteContaining(string[] filter)
ParameterTypeDescription
filterString[]A strings to search

Return Value

A created InboxRule

Exceptions

exceptioncondition
AsposeArgumentExceptionfilter is null or empty

See Also