Method AppliesTo
- Namespace
- MailFathom.Application.Rules
- Assembly
- MailFathom.Application.dll
AppliesTo(string)
Reports whether this rule is one of the rules the given account's mail is passed through.
public bool AppliesTo(string account)
Parameters
accountstringThe configured identifier of the account the email belongs to.
Returns
Remarks
The comparison is ordinal, which is how the synchronization section already tells two account identifiers apart: two accounts differing only in case are two accounts there, so a scope that matched them both here would send one account's mail through the other's rules.
Exceptions
- ArgumentException
Thrown when
accountis empty or whitespace.