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)
| Parameter | Type | Description |
|---|---|---|
| filter | String[] | A strings to search |
Return Value
A created InboxRule
Exceptions
| exception | condition |
|---|---|
| AsposeArgumentException | filter is null or empty |
See Also
- class InboxRule
- namespace Aspose.Email.Clients.Exchange
- assembly Aspose.Email