IsValidEmailAddress (open)

Check if an email address is valid

Syntax

LOADLIB "mod::system/lib/mailer.whlib";

BOOLEAN FUNCTION IsValidEmailAddress(STRING emailaddress)

Parameters

STRING emailaddress

Email adres to verify (address part only - eg. as returned by SplitEmailName)

Return value

BOOLEAN

True if the email address appears to be a well-formed email address

Description

This function checks if a given email address appears to be valid. It does not verify whether the domain name actually exists, or whether the user exists on the mailserver.