IsEmailAddress Function

The IsEmailAddress function returns either True or False depending on if the value is a valid email address. A practical use case is on CloudPages for user submitted email address values.



set @email = ‘’

IF IsEmailAddress(@email) == ‘true’ THEN
    set @msg = ‘Email is valid’
    set @msg = ‘Email is NOT valid’




Email is valid


The @email variable is set as a valid email of “”. When evaluated using the IsEmailFunction function, it returns True because it is a valid email address. The IsEmailFunction function can also be used on data values to determine if the value is not a valid email address if it returns False.

Leave a Reply

Your email address will not be published. Required fields are marked *