title: Socket error using the validate_email 1.1 package
body: <p>I trying to get validate_email package (<a href="https://pypi.python.org/pypi/validate_email" rel="nofollow">https://pypi.python.org/pypi/validate_email</a>) to verify an email for me on a Windows 7/Python 2.7 device.  The following works:</p>
  
  <pre><code>&gt;&gt;&gt; validate_email('example@example.com')
  True
  &gt;&gt;&gt; validate_email('example@example.com',check_mx=True)
  True
  &gt;&gt;&gt; validate_email('example@example.com',verify=True)
  True
  </code></pre>
  
  <p>But when I try a commercial email server example to check if the host has SMPT Server and/or the email really exists, it fails as follows:</p>
  
  <pre><code>&gt;&gt;&gt; validate_email('example@gmail.com')
  True
  &gt;&gt;&gt; validate_email('example@gmail.com',check_mx=True)
  
  Traceback (most recent call last):
    File "&lt;interactive input&gt;", line 1, in &lt;module&gt;
    File "C:\Python27\lib\site-packages\validate_email.py", line 104, in validate_email
      smtp.connect(mx[1])
    File "C:\Python27\lib\smtplib.py", line 309, in connect
      self.sock = self._get_socket(host, port, self.timeout)
    File "C:\Python27\lib\smtplib.py", line 284, in _get_socket
      return socket.create_connection((port, host), timeout)
    File "C:\Python27\lib\socket.py", line 571, in create_connection
      raise err
  error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
  &gt;&gt;&gt; validate_email('example@gmail.com',verify=True)
  Traceback (most recent call last):
    File "&lt;interactive input&gt;", line 1, in &lt;module&gt;
    File "C:\Python27\lib\site-packages\validate_email.py", line 104, in validate_email
      smtp.connect(mx[1])
    File "C:\Python27\lib\smtplib.py", line 309, in connect
      self.sock = self._get_socket(host, port, self.timeout)
    File "C:\Python27\lib\smtplib.py", line 284, in _get_socket
      return socket.create_connection((port, host), timeout)
    File "C:\Python27\lib\socket.py", line 571, in create_connection
      raise err
  error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
  </code></pre>
  
  <p>It appears that I'm trying to access a port that I don't have permission to, but I don't know how to change to a port that would work and has the correct permissions.</p>
  
  <p>Any suggestions?</p>