Method IsAngleAddress
- Namespace
- MailFathom.Application.Contacts
- Assembly
- MailFathom.Application.dll
IsAngleAddress(string)
Reports whether the text is an address written in the angle brackets a header wraps one in.
public static bool IsAngleAddress(string trimmedAddress)
Parameters
trimmedAddressstringThe caller's text, already trimmed.
Returns
Remarks
Either bracket alone is enough to refuse: an address carries neither character, so text holding one was copied out of a header rather than written as an address.
Exceptions
- ArgumentNullException
Thrown when
trimmedAddressis null.