Method NotAnAddress
- Namespace
- MailFathom.Application.Emails.Mailboxes
- Assembly
- MailFathom.Application.dll
NotAnAddress(string)
Refuses a filter whose value is not an address any stored participant could carry.
public static MailboxQueryFilterInvalidException NotAnAddress(string filterName)
Parameters
filterNamestringHow this assembly names the filter, for example
sender address.
Returns
- MailboxQueryFilterInvalidException
The failure to raise.
Remarks
An unusable address is refused rather than kept as a value that matches nothing, so a caller learns that their input was rejected instead of concluding that the mailbox holds no such mail.