Unicode Intrinsic Functions - IsValidEmail Method

Test whether the string contains a valid email address

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)BooleanTrue if the string is a valid email

Details

The isValidEmail method allows you test whether a string is a valid email address. This is based on the RFC5322 email standard.
 
 - It cannot be more than 254 characters long
 - It must not contain more than one @
 - It must not begin with an @
 - It must not begin with a period (.) and there must be at least one period in address
 - It cannot have two periods next to each other
 - It cannot contain a space
 - It must have at least one character between the @ and period in the domain portion
 - It must not end with a period

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2