Commit Graph

232 Commits

Author SHA1 Message Date
László Károlyi a248d9ad19
Migrating to gitea part 1 2021-11-16 23:38:37 +01:00
László Károlyi 4420df2eb9
Add moar python 2021-09-15 18:44:36 +02:00
László Károlyi 85ecd1a600
Fix isort 2021-09-15 18:35:51 +02:00
László Károlyi 4359436f2a
Trying to fix travis 2021-09-15 18:24:42 +02:00
László Károlyi 2067a54984
Closes #79, handle recovery from an `SSLError`, make use of `SSLContext` 2021-09-15 18:12:19 +02:00
László Károlyi 077e91d0bd
README.rst readability improvements 2021-09-13 18:34:16 +02:00
László Károlyi 853bfc15e7
Add warning to issue template 2021-09-02 11:49:17 +02:00
László Károlyi e7c818b2c2
Trying to trigger travis 2021-08-23 19:15:10 +02:00
László Károlyi b9ab3b9d39
Update the renamed disposable-email-domains repo address 2021-08-23 16:53:25 +02:00
László Károlyi 3f48c066d8
Merge pull request #75 from pomma89/ambigious-typo
"ambigious" typo
2021-07-24 10:42:47 +00:00
Alessio Parma b6bc0ca47d ambigious --> ambiguous
Also added a missing "is" into a log message.
2021-07-24 11:07:38 +02:00
László Károlyi d476b8684e
Fix dnspython dependency, closes #74
Preparing bugfix release 1.0.1
2021-07-19 17:25:49 +02:00
László Károlyi 491222f496
Fixing bug_report.md 2021-03-14 14:32:08 +01:00
László Károlyi a0b19a06e9
Bumping actual version 2021-03-14 14:27:13 +01:00
László Károlyi fc117e087e
Merge branch 'version-1.0.0' 2021-03-14 14:11:28 +01:00
László Károlyi 92194c93d5
Bump idna dependency 2021-03-14 14:06:46 +01:00
László Károlyi ed7e0e96d9
Merge pull request #63 from reinhard-mueller/master
Next step towards 1.0.0
2021-03-14 12:54:32 +00:00
Reinhard Müller dbd0c1285d Small formatting and doc tweaks 2021-03-14 13:24:24 +01:00
László Károlyi 8641dfe091
Adjust bugreport template 2021-03-13 17:19:47 +01:00
Reinhard Müller cd47b2ef66 Fix typo 2021-03-13 11:06:23 +01:00
Reinhard Müller 1cdd99b3f1 Add some more (hopefully helpful) remarks to the FAQ 2021-03-13 11:04:51 +01:00
Reinhard Müller 7729037830 Add extensive unit tests for smtp_check module 2021-03-12 14:38:44 +01:00
Reinhard Müller da540d8db2 Clean up parameter list, update docs
See also discussion at
https://github.com/karolyi/py3-validate-email/discussions/57
2021-03-12 01:06:13 +01:00
Reinhard Müller 1b9b0682cd Improve emulation of true SMTP process
* Check the SMTP servers in order of priority instead of random order.
* Handle SMTPServerDisconnected like a 451 status as recommended by RFC
  5321.
* Exit early by directly raising CommunicationError on the first 5xx
  SMTPResponseException.

See also the discussion at
https://github.com/karolyi/py3-validate-email/discussions/61
2021-03-11 16:09:09 +01:00
László Károlyi 1d5e7810ae
Cleaning up changelog 2021-03-07 13:23:57 +01:00
László Károlyi 4103a3a1b3
Adjust CHANGELOG.txt 2021-03-07 13:02:21 +01:00
László Károlyi 9088279c11
Merge pull request #58 from reinhard-mueller/master
Clean up before major release
2021-03-07 11:59:25 +00:00
Reinhard Müller e1684f7f72 Make isort happy 2021-03-03 21:53:25 +01:00
Reinhard Müller bcbadbab65 Split mx_check into dns_check and smtp_check
This will allow us to cleanly and consistently keep the four
verification steps separate: format (regex) - blacklist - dns - smtp.
2021-03-02 18:30:13 +01:00
Reinhard Müller a0f1cd1b04 Improve logging options
Issue our own log messages independently of the "debug" parameter, so a
user can activate our log messages through Python's standard logger
config features, while still having dsabled smtplib's debug messages,
which are very verbose and always go to stderr.

Change the log output for failed and ambiguous verifications from
"warning" to "info" as this is a normal function of the library and not
something that would require attention. Also this makes sure that no log
output is generated if logging is not configured at all (default is to
only display warning and above).
2021-03-02 17:43:03 +01:00
László Károlyi c6c3c18ebe
Fix unused import so travis won't chimp out 2021-03-01 19:11:17 +01:00
László Károlyi 1d0207f762
Fix names 2021-03-01 18:15:02 +01:00
László Károlyi 09e5e56d48
Adding initial SMTPCheckerTest tests 2021-03-01 18:09:43 +01:00
László Károlyi 5e84348d9b
Fix tests 2021-03-01 17:43:52 +01:00
László Károlyi b0e89cabd7
Add changelog for 1.0.0 2021-03-01 17:37:29 +01:00
László Károlyi 1999e1d433
Simplifying code 2021-03-01 17:15:58 +01:00
László Károlyi b258d2735f
Update bug template 2021-03-01 11:58:48 +01:00
László Károlyi 184a15a531
Update issue templates 2021-03-01 11:57:14 +01:00
László Károlyi d0301bb968
Refactor to FAQ for issue template 2021-03-01 11:56:09 +01:00
László Károlyi f93f20cc9a Update issue templates 2021-03-01 10:53:30 +00:00
László Károlyi 5a27711397
Overhauling response handling 2021-03-01 11:37:48 +01:00
László Károlyi 903925afc9
Code cleanup, tests follow 2021-02-28 15:02:16 +01:00
Reinhard Müller ef15fa994a Restructure SMTP check code 2021-02-23 21:28:13 +01:00
Reinhard Müller 59172783ce Fix indentation 2021-02-22 15:18:49 +01:00
Reinhard Müller 9d662a2f23 Improve SMTP check error handling
* Improve exception class hierarchy
* Raise exception on malformatted "from_address" parameter instead of
  yielding a negative verification result
* Add option to raise exceptions on ambiguous results
* Improve exception parameters to allow for a more structured analysis
  of the negative response
* Yield a negative verification result upon the first permanent error on
  RCPT TO, just like a mail server would also bounce after the first
  permanent error
2021-02-22 14:32:56 +01:00
László Károlyi 009182542e
Release 0.2.16 2021-02-15 16:45:01 +01:00
László Károlyi f3adaa8e80
Merge pull request #52 from reinhard-mueller/master, fix #50
Work around a bug in smtp lib
2021-02-15 15:42:50 +00:00
Reinhard Müller 41a14e17b9 Work around a bug in smtp lib
Fixes #50
2021-02-15 15:26:38 +01:00
László Károlyi 8439d94742
Fix tests, prepare a new release 2021-02-11 17:49:29 +01:00
László Károlyi 81f5769ac8
Merge pull request #49 from gearheartio/feature/add-no_smtp_argument
Add no_smtp argument that allows us to validate only mx records witho…
2021-02-11 16:54:08 +01:00