Handlebars Helper Function: isEmailAddress
Tests whether an email address is structurally valid.
This helper doesn’t verify that an email address or domain exists. It only checks whether the supplied address aligns with the standardized structure of an email address.
This helper is available in the Winter ’27 release of Marketing Cloud Next.
| Parameter | Type | Description |
|---|---|---|
emailAddress | String | Required. The email address to test. |
The function returns true if emailAddress is structurally valid. Otherwise, it returns false.
This example checks whether an email address is structurally valid.
The function returns true.
This table lists results for several other examples, and explains why an example returns true or false.
| Function Call | Result | Notes |
|---|---|---|
{{isEmailAddress "pooja.chatterjee@example.com"}} | true | |
{{isEmailAddress "pooja.chaterjee@example"}} | true | An email domain can omit a top-level domain, such as .com. |
{{isEmailAddress "pooja.chatterjeeexample.com"}} | false | This address is missing an at sign. |
{{isEmailAddress "pooja@chatterjee@example.com"}} | false | This address contains two at signs. |
{{isEmailAddress "@example.com"}} | false | This address is missing the local part, which appears before the at sign. |
{{isEmailAddress "pooja.chatterjee@.com"}} | false | This address is missing a second-level domain. |