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.
Checks the user's email address for characters that are not valid.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: MiscUtil (in MiscUtil.dll)
Syntax
bool ValidateEmailAddress(
string email,
out string errorSummary,
out string errorDetail
)
bool ValidateEmailAddress(
String^ email,
[OutAttribute] String^% errorSummary,
[OutAttribute] String^% errorDetail
)
Function ValidateEmailAddress (
email As String,
<OutAttribute> ByRef errorSummary As String,
<OutAttribute> ByRef errorDetail As String
) As Boolean
Parameters
email
Type: System.StringThe email address to validate.
errorSummary
Type: System.StringIf the email address is not valid, the string contains the summary of the error. If the address is valid, the parameter is NULL.
errorDetail
Type: System.StringIf the address is not valid, the parameter contains the detail of the error. If the email address is valid, the parameter is NULL.
Return Value
Type: System.Boolean
Returns Boolean. If the email address is valid, the method returns True; otherwise, the method returns False.
Remarks
This is only available on Small Business Server 2011 Essentials.
See Also
IUserExtension2 Interface
Microsoft.WindowsServerSolutions.Common Namespace
Return to top