Example email address generator

Generates an email address using an example mail provider using the given person's name as base.

internet.exampleEmail

Generator settings

Generate data to see results here.

Parameters & Example

Generates an email address using an example mail provider using the given person's name as base.

internet.exampleEmail(options?: { firstName?, lastName?, allowSpecialCharacters? })
options
An options object.
options.firstName
The optional first name to use. If not specified, a random one will be chosen.
options.lastName
The optional last name to use. If not specified, a random one will be chosen.
options.allowSpecialCharacters
Whether special characters such as .!#$%&'*+-/=?^_{|}~ should be included in the email address. Defaults to false.

Example

"[email protected]"

Use synthetic data in a test environment.

Related generators

Explore scenarios