Table of Contents

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

trimmedAddress string

The caller's text, already trimmed.

Returns

bool

true when the text carries an angle bracket anywhere in it.

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 trimmedAddress is null.