Skip to main content

IsEmailAddressInternal

This Script is part of the Common Scripts Pack.#

Checks if the email address is part of the internal domain.

Script Data#


NameDescription
Script Typejavascript
Tagsemail

Inputs#


Argument NameDescription
emailThe email address to check.
domainThe list of internal domains to check. (comma-separated)
include_subdomainsWhether to include the subdomains of the domain list.

Outputs#


PathDescriptionType
Account.Email.AddressThe email accounts full address.string
Account.Email.UsernameThe email accounts username.string
Account.Email.DomainThe email accounts domain.string
Account.Email.NetworkTypeThe eil account NetworkType. Can be, "Internal" or "External".string