The PHP Email Validator will validate an email address for all or some of the following conditions:
PHP 电子邮件验证器将验证电子邮件地址是否符合以下全部或部分条件:
- is in a valid format (supports both RFC 5321 and RFC 5322)
采用有效格式(支持 RFC 5321 和 RFC 5322)
- has configured MX records (optional)
已配置 MX 记录(可选)
- is not a disposable email address (optional)
不是一次性电子邮件地址(可选)
- is not a free email account (optional)
不是免费电子邮件帐户(可选)
- is not a banned email domain (optional)
不是被禁止的电子邮件域名(可选)
- flag Gmail accounts that use the "plus trick" and return a sanitized email address
标记使用“加号技巧”的 Gmail 帐户并返回已清理的电子邮件地址
The Email Validator is configurable, so you have full control over how much validation will occur.
电子邮件验证器是可配置的,因此您可以完全控制发生的验证量。