Validate_email是Python的软件包,用于检查电子邮件是否有效,格式正确以及是否确实存在
Basic usage:
from validate_email import validate_email is_valid = validate_email('example@example.com')
Checking domain has SMTP Server
from validate_email import validate_email is_valid = validate_email('example@example.com',check_mx=True)
Verify email exists
from validate_email import validate_email is_valid = validate_email('example@example.com',verify=True)