Domain
This function returns the domain of an email address.
Argument
Domain(1)
Ordinal | Type | Required | Description |
---|---|---|---|
1 | String | True | The email address |
NOTE: If the argument passed to the function is not a valid email address, the function will return a
null
output.
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 dale@limedash.com
, the following output will be displayed:
<p>Your email domain is limedash.com.</p>