Commit graph

20 commits

Author SHA1 Message Date
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
Syrus Akbary
8fcf614de6 Fixed README 2012-04-07 23:07:14 +02:00
Syrus Akbary
49034b13b6 First version 2012-04-07 23:05:57 +02:00