Click or drag to resize
ValidationHelperIsEmail Method
Returns true if the object representation matches the Email.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool IsEmail(
	Object value,
	bool checkLength = false
)

Parameters

value
Type: SystemObject
Value to check
checkLength (Optional)
Type: SystemBoolean
if true checks whether e-mail is no longer than SINGLE_EMAIL_LENGTH

Return Value

Type: Boolean
See Also