Email-validate

Latest version: v1.1.2

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.1.0

- add github action for package build & release.
- validate_email() -> validate() & validate_email_or_fail() -> validate_or_fail()
- change domainblacklist datasource to dadoudata.com.

1.0.0

- New major release with breaking changes! They are:
- Parameter names for validate_email() and validate_email_or_fail() have changed:
- check_regex -> check_format
- use_blacklist -> check_blacklist
- check_mx -> check_dns
- skip_smtp -> check_smtp (with inverted logic)
- helo_host -> smtp_helo_host
- from_address -> smtp_from_address
- debug -> smtp_debug
- All parameters except for the first one (the email address to check) are now keyword-only.
- Ambiguous results and the possibility of more of them, to reflect a real world SMTP delivery process:
- The module tries all MX hosts in order of priority.
- An acceptance of the email address will yield a positive verification result, no further MX hosts will be tried.
- Any permanent SMTP error (5xx) will yield a negative verification result, no further MX hosts will be tried.
- Any temporary SMTP error (4xx) or any connection issue will cause the next MX host to be tried. Only if all MX hosts yield these kinds of errors, the overall verification result will be ambiguous. That is, greylisting or no servers providing a definitive negative or positive.
- The validate_email_or_fail() function will now raise an SMTPTemporaryError() on an ambiguous result.
- All exceptions raised by the SMTP check will contain the occurred communication results in their error_messages class variables.
- Internal API changes (refactorings)
- Check results are now logged with info level, instead of emitting warnings when debug is turned on.
- Props to reinhard-mueller for coming up with the new proposals and helping in refining the idea.

0.2.16

- Workaround for a bug in the built-in python 3.8 smtp library: https://github.com/karolyi/py3-validate-email/issues/50

0.2.15

- Added a `skip_smtp` option to optionally skip the SMTP protocol check after the DNS level checks, by SergeyKons

0.2.14

- More improvements, courtesy of Reinhard Müller: https://github.com/karolyi/py3-validate-email/pull/48

0.2.13

- Fix 5xx errors not getting through in the exception parameters on the RCPT TO
handling. (45)

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.