Description: This subroutine validates a string of e-mail addresses, and returns TRUE if the e-mail addresses in the string are syntactically valid, or FALSE if they are not.
Returns: Boolean
Usage: Script or Steady State
Format: ValidateEmailAddrs(EmailAddress)
Parameters: EmailAddress { text } { required } { no default: }
The string of e-mail addresses to check.
Comments: Multiple addresses are assumed to be separated by semi-colons in the input string. This subroutine returns TRUE if the e-mail addresses in the string are syntactically valid, otherwise, FALSE is returned.
ValidateEmailAddrs checks that each address has an @ symbol that is not the first or last character, and that each address has a dot appearing at least 2 characters after the @ symbol, with no dot appearing immediately after the @ sign, and no dot as last character.
See Also: