Domain

This function returns the domain of an email address.

NOTE: If the argument passed to the function is not a valid email address, the function will return a null output.

Argument

Domain(1)

Ordinal Type Required Description
1 String True The email address

Example

The following example displays the domain of the Subscriber’s email address using the emailaddr email Subscriber data string.

<p>Your email domain is %%=Domain(emailaddr)=%%.</p>

Output

For a Subscriber with the email address [email protected], the following output will be displayed:

<p>Your email domain is limedash.com.</p>