IEWSClientDeleteInboxRule Method (String, String)

Deletes the specified inbox rule

Namespace:  Aspose.Email.Clients.Exchange.WebService
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
void DeleteInboxRule(
	string ruleId,
	string mailbox
)

Parameters

ruleId
Type: SystemString
An id of inbox rule to delete
mailbox
Type: SystemString
A 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