Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates whether an email address is valid.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: MiscUtil (in MiscUtil.dll)
Syntax
bool ValidateEmail(
string email,
out string errorDetail
)
bool ValidateEmail(
String^ email,
[OutAttribute] String^% errorDetail
)
Function ValidateEmail (
email As String,
<OutAttribute> ByRef errorDetail As String
) As Boolean
Parameters
email
Type: System.StringA reference to the email address to validate.
errorDetail
Type: System.StringWhen this method returns, contains the details of any error that occurs. If the email address is valid, the parameter contains a null value.
Return Value
Type: System.Boolean
A Boolean: true if the email address is valid; otherwise, false.
See Also
IMailboxExtension Interface
Microsoft.WindowsServerSolutions.Common Namespace
Return to top