邮箱地址生成器
根据可选的名、姓和域名生成邮箱字符串,适合测试输入格式和显示逻辑。
internet.email
生成设置
生成后在这里查看结果。
参数 & 示例
根据可选的名、姓和域名生成邮箱字符串,适合测试输入格式和显示逻辑。
internet.email(options?: { firstName?, lastName?, provider?, allowSpecialCharacters? })- options
- The options to use.
- 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.provider
- The mail provider domain to use. If not specified, a random free mail provider will be chosen.
- options.allowSpecialCharacters
- Whether special characters such as .!#$%&'*+-/=?^_{|}~ should be included in the email address. Defaults to false.
示例
"[email protected]"请在测试环境使用合成数据。