InboxRule.CreateRuleDeleteFrom
InboxRule.CreateRuleDeleteFrom method
Creates inbox rule that deletes messages from specified senders
public static InboxRule CreateRuleDeleteFrom(MailAddress from)
| Parameter | Type | Description |
|---|---|---|
| from | MailAddress | A EmailAddress of sender |
Return Value
A created InboxRule
Exceptions
| exception | condition |
|---|---|
| AsposeArgumentNullException | from is null |
See Also
- class MailAddress
- class InboxRule
- namespace Aspose.Email.Clients.Exchange
- assembly Aspose.Email