IEWSClient.DeleteInboxRule

DeleteInboxRule(string)

Deletes the specified inbox rule

public void DeleteInboxRule(string ruleId)
ParameterTypeDescription
ruleIdStringAn id of inbox rule to delete

Exceptions

exceptioncondition
AsposeArgumentExceptionthrows when ruleId is null or empty

See Also


DeleteInboxRule(string, string)

Deletes the specified inbox rule

public void DeleteInboxRule(string ruleId, string mailbox)
ParameterTypeDescription
ruleIdStringAn id of inbox rule to delete
mailboxStringA mailbox where rule is located. Note: if it is set to null or empty, the rule will be searched in the default mailbox

Exceptions

exceptioncondition
AsposeArgumentExceptionthrows when ruleId is null or empty

See Also