IsEmailAddress()

Tests whether an email address is well formed.

note: This function isn’t designed to test whether an email address or domain actually exists. It only tests the supplied email address to determine whether it’s structurally valid.

Availability

<table> <tr> <td>Marketing Cloud Engagement</td> <td>✅ Yes</td> </tr> <tr> <td>Marketing Cloud Next</td> <td>✅ Yes</td> </tr> </table>

Syntax

IsEmailAddress(emailAddress)

The IsEmailAddress() function has one parameter:

  • emailAddress (String): Required. An email address.

Usage

This example checks to see if the email address tomas.santos@example.org is valid.

IsEmailAddress("tomas.santos@example.org")

The example returns a result of true.

Result Table

This table shows several function calls and the result of each one.

Function Result Notes
IsEmailAddress("pooja.chatterjee@example.com") true
IsEmailAddress("pooja.chaterjee@example") true It's technically possible, although rare, to have an email domain that doesn’t include a top-level domain such as .com.
IsEmailAddress("pooja.chatterjeeexample.com") false This example is missing an at sign (@), making it invalid.
IsEmailAddress("pooja@chatterjee@example.com") false This example includes two at signs, making it invalid.
IsEmailAddress("@example.com") false This example is missing the local part (the part of the address that comes before the at sign), making it invalid.
IsEmailAddress("pooja.chatterjee@.com") false This example is missing a second-level domain, but includes a top-level domain.