Determines whether or not an input string is a valid SMTP email address based on its match to a regular expression. You can see the regular expression in the class property EmailAddressRegexPattern.

Namespace: VcClient
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public static bool IsValidEmailAddress(
	string inputEmail
)
Visual Basic
Public Shared Function IsValidEmailAddress ( _
	inputEmail As String _
) As Boolean
Visual C++
public:
static bool IsValidEmailAddress(
	String^ inputEmail
)

Parameters

inputEmail
Type: String
The candidate email address

Return Value

True if the email address is valid and false otherwise

See Also