IEWSClient.CreateInboxRule

CreateInboxRule(InboxRule)

Creates the specified inbox rule

public void CreateInboxRule(InboxRule rule)
ParameterTypeDescription
ruleInboxRuleA inbox rule to create

Exceptions

exceptioncondition
AsposeArgumentNullExceptionthrows when rule is null

See Also


CreateInboxRule(InboxRule, string)

Creates the specified inbox rule

public void CreateInboxRule(InboxRule rule, string mailbox)
ParameterTypeDescription
ruleInboxRuleA inbox rule to create
mailboxStringA mailbox to create rule for. Note: if it is set to null or empty, the rule will be created in the default mailbox

Exceptions

exceptioncondition
AsposeArgumentNullExceptionthrows when rule is null

See Also