用于电子邮件验证的python 3库
email-existence的Python项目详细描述
用于电子邮件验证的python 3库
要求
- python 3.x
- DNSPython3
安装
pip install email_existence
用法
>>> from email_existence import EmailExistence >>> checked_email = EmailExistence('example@gmail.com') >>> checked_email.code 550 >>> checked_email.message b"5.1.1 The email account that you tried to reach does not exist. Please try\n5.1.1 double-checking the recipient's email address for typos or\n5.1.1 unnecessary spaces. Learn more at\n5.1.1 https://support.google.com/mail/?p=NoSuchUser u83si7007029ywg.314 - gsmtp"