IEWSClient.CreateInboxRule
Contents
[
Hide
]CreateInboxRule(InboxRule)
Creates the specified inbox rule
public void CreateInboxRule(InboxRule rule)
Parameter | Type | Description |
---|---|---|
rule | InboxRule | A inbox rule to create |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | throws when rule is null |
See Also
- class InboxRule
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
CreateInboxRule(InboxRule, string)
Creates the specified inbox rule
public void CreateInboxRule(InboxRule rule, string mailbox)
Parameter | Type | Description |
---|---|---|
rule | InboxRule | A inbox rule to create |
mailbox | String | A mailbox to create rule for. Note: if it is set to null or empty , the rule will be created in the default mailbox |
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | throws when rule is null |
See Also
- class InboxRule
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email