Click or drag to resize

MessageExpectedAddressCount Method

Determine the number of email address that would be expected in the specified email address list. Knowing the number of expected email addresses can be helpful in determining whether a MailMessage created by PrepareMessage rejected any invalid email addresses that were provided to To, CC, or Bcc. Currently the number of expected addresses is determined by looking for semi-colons and/or at-signs.

Namespace:  NetQuarry.Mail
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static int ExpectedAddressCount(
	string addressList
)

Parameters

addressList
Type: SystemString
The email address list to examine.

Return Value

Type: Int32
The number of addresses expected.
See Also