Commit Graph

252 Commits

Author SHA1 Message Date
Ben Baert 2ae771d0be Travis file added 2018-06-01 15:17:06 +02:00
Ben Baert cf116d59ce Removed import bugs and function overwrites 2018-06-01 15:11:43 +02:00
Ben Baert a5ad4cc520 Restructured 2018-06-01 14:57:20 +02:00
Ben Baert 118499d3ff Updated readme 2018-06-01 14:41:28 +02:00
Ben Baert db488db32d Reorganised code 2018-06-01 14:29:44 +02:00
Ben Baert 29dde38a84 Added requirements.txt 2018-06-01 14:05:00 +02:00
Ben Baert a110914328 Reorganised code; mx check in separate file 2018-05-31 14:58:35 +02:00
Ben Baert 9f9fc94875 Updated setup.py 2018-05-31 13:13:28 +02:00
Ben Baert c5064e8a18 Changed tests.py to test_email_regex.py 2018-05-31 13:01:58 +02:00
Ben Baert 70a30a5036 Updated install message 2018-05-31 13:01:04 +02:00
Ben Baert c060013ec1 Updated author message 2018-05-31 13:00:10 +02:00
Ben Baert 3421d956ca Test file cleanup 2018-05-31 12:56:03 +02:00
Ben Baert fe914d6f57 Added test cases for regex 2018-05-31 12:54:21 +02:00
Syrus Akbary eaf2668a84 Merge pull request #40 from efagerberg/master
Make regex check for all whitespace and check for servfail
2015-07-24 14:46:01 -07:00
Evan Fagerberg ff2ad2bb62 Fix spacing 2015-07-24 12:27:30 -04:00
Evan Fagerberg 42b337cb28 whitespace throws regex failure and check for servfail 2015-07-24 16:18:16 +00:00
Evan Fagerberg 59e8c64853 Update vagrant_setup.md 2015-07-17 12:04:24 -04:00
Evan Fagerberg 6aae02f27c Update vagrant_setup.md 2015-07-17 12:03:21 -04:00
Evan Fagerberg 67b578f6c7 Update vagrant_setup.md 2015-07-17 12:02:45 -04:00
Evan Fagerberg 66dcd1f9f8 master | documentation for windows users 2015-07-17 10:20:14 -04:00
Syrus Akbary 244b566c29 Merge pull request #35 from lowks/patch-1
Update setup.py
2015-03-22 22:20:19 -07:00
Low Kian Seong bb82c133bb Update setup.py
Typo
2015-03-23 13:05:19 +08:00
Syrus Akbary a1b4301c50 Merge pull request #34 from kevandunsmore/master
Bumped version to 1.3. Changed license on setup.py to match git LICENSE ...
2015-03-19 23:10:53 -07:00
Kevan Dunsmore 1c4825580a Bumped version to 1.3. Changed license on setup.py to match git LICENSE file (LGPL) 2015-03-19 16:55:02 -07:00
Syrus Akbary 2ee218c5d3 Merge pull request #24 from skinnyp/master
Caught attribute error while importing exception from DNS
2015-03-17 10:55:43 -07:00
Syrus Akbary 17b7b84a48 Merge pull request #29 from berislavlopac/upgrade_python_3
Updated to Python 3.
2014-10-13 09:50:40 +02:00
Berislav Lopac 1777ca0a30 Updated to Python 3.
In order to preserve compatibility with Python 2, raw_input was preserved.
2014-10-12 19:51:42 +01:00
Parham Saidi c8479eb9b3 caught attribute error while import exception 2014-08-26 14:55:49 +00:00
Syrus Akbary e5f8797e3f Updated license to be LGPL. Fixed #22 2014-07-03 11:34:25 +02:00
Syrus Akbary b41168e25a Merge pull request #18 from cdevienne/master
Sanitize check_mx
2014-04-08 16:23:43 +02:00
Christophe de Vienne 5599863f18 Discover the dns server only once 2014-04-08 12:10:38 +02:00
Christophe de Vienne 892f864278 Add a cache for check_mx.
Once a mx has been checked, any further check on the same mx will immediately
return without actually connecting to the smtp server.
2014-04-08 12:06:31 +02:00
Christophe de Vienne 26e67ff572 If dnslookup return NXDOMAIN, return False
A NXDOMAIN error from dnslookup means the domain does not exists. In such a
cas, we consider the email address as being invalid.
,
2014-04-08 11:59:07 +02:00
Christophe de Vienne 25d16d8a4d Ignore SMTPServerDisconnected from smtp.quit()
This exception is raised by smtp.quit() for some smtp servers (for example
laposte.net).
2014-04-08 11:47:42 +02:00
Syrus Akbary b7c5861588 Updated version. 2014-03-20 12:41:39 +01:00
Syrus Akbary 8e4963f42b Fixed #17 - Added timeout option for smtp connections. 2014-03-20 12:41:21 +01:00
Syrus Akbary 18dd16bc8e Merge pull request #12 from AndreaCrotti/dns_cache
cache the mx from the cache since it's very unlikely to change and we can spare many DNS requests
2014-01-07 12:26:59 -08:00
Andrea Crotti a6a10744aa cache the mx from the cache since it's very unlikely to change and we
can spare many DNS requests
2014-01-07 11:51:50 +00:00
Syrus Akbary 46746dc237 Update setup.py 2013-07-30 22:34:36 +02:00
Syrus Akbary 094dec15b0 Merge pull request #6 from scardine/master
Suggestions for #4 and #2, general code janitoring.
2013-06-03 12:59:06 -07:00
Paulo Scardine cbba38aaeb Suggestions for #4 (returning None) and #2 (logging server responses)
* removed unused "import socket"
* changed broad "except" clause to more specific "except ImportError"
* general PEP8 reformat
* added "debug" option for logging server responses/errors
* return None instead of True/False on several errors that may be temporary
2013-06-01 18:15:37 -03:00
Paulo Scardine 9679958340 Suggestions for #4 (returning None) and #2 (logging server responses)
* removed unused "import socket"
* changed broad "except" clause to more specific "except ImportError"
* general PEP8 reformat
* added "debug" option for logging server responses/errors
* return None instead of True/False on several errors that may be temporary
2013-06-01 16:54:39 -03:00
Syrus Akbary e843df23c7 Merge pull request #3 from decibyte/master
Now quitting SMTP connection
2013-05-03 15:38:10 -07:00
Mikkel Munch Mortensen 7021c42bde Quitting SMTP connection. 2013-05-02 14:01:48 +02:00
Syrus Akbary 92c6a31974 Merge pull request #1 from takluyver/patch-1
Spelling correction
2012-11-16 04:43:05 -08:00
Thomas Kluyver 976b50f885 Spelling correction 2012-11-16 12:41:11 +00:00
Syrus Akbary 444a12d96d Updated version 2012-04-22 22:14:52 +02:00
Syrus Akbary ce2ca7d1fa Fixed module bug 2012-04-22 22:13:19 +02:00
Syrus Akbary ee678ab10f Improved README 2012-04-07 23:14:28 +02:00
Syrus Akbary 86ae68a53c Changed from mx to check_mx 2012-04-07 23:13:13 +02:00