cache the mx from the cache since it's very unlikely to change and we
can spare many DNS requests
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
Fixed #17 - Added timeout option for smtp connections.
Updated version.
Ignore SMTPServerDisconnected from smtp.quit()

This exception is raised by smtp.quit() for some smtp servers (for example
laposte.net).
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.
,
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.
Discover the dns server only once
Merge pull request #18 from cdevienne/master

Sanitize check_mx
Updated license to be LGPL. Fixed #22
Updated to Python 3.

In order to preserve compatibility with Python 2, raw_input was preserved.
Merge pull request #29 from berislavlopac/upgrade_python_3

Updated to Python 3.
Merge pull request #1 from syrusakbary/master

update