MimeRecipient.IsEmailValid method
The IsEmailValid(String) method indicates whether the specified string is a valid email address for the MimeRecipient object.
Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Shared Function IsEmailValid ( _
email As String _
) As Boolean
'Usage
Dim email As String
Dim returnValue As Boolean
returnValue = MimeRecipient.IsEmailValid(email)
public static bool IsEmailValid(
string email
)
Parameters
email
Type: System.StringThe email address to evaluate.
Return value
Type: System.Boolean
The IsEmailValid(String) method returns true if email is a valid email address; otherwise the method returns false.