InboxRule.CreateRuleDeleteFrom

InboxRule.CreateRuleDeleteFrom method

Creates inbox rule that deletes messages from specified senders

public static InboxRule CreateRuleDeleteFrom(MailAddress from)
ParameterTypeDescription
fromMailAddressA EmailAddress of sender

Return Value

A created InboxRule

Exceptions

exceptioncondition
AsposeArgumentNullExceptionfrom is null

See Also