title: Django email not sending
body: <p>I am trying to send email through Django as part of django-userena, but I am not able to get email to send at all. In my settings, I have:</p>
  
  <pre><code>EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  EMAIL_USE_TLS = True
  EMAIL_HOST = 'smtp.gmail.com'
  EMAIL_PORT = 587
  EMAIL_HOST_USER = 'myuser@gmail.com'
  EMAIL_HOST_PASSWORD = 'mypassword'
  </code></pre>
  
  <p>I try to send an email from the Django console with:</p>
  
  <pre><code>from django.core.mail import EmailMessage
  email = EmailMessage('Mail Test', 'This is a test', to=['otheruser@gmail.com'])
  email.send()
  </code></pre>
  
  <p>It hangs on the send command and doesn't actually send the email. If I stop the command, I get this traceback:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;console&gt;", line 1, in &lt;module&gt;
    File "/home/myuser/Copy/Projects/Programming/myproject/venv/local/lib/python2.7/site-packages/django/core/mail/message.py", line 274, in send
      return self.get_connection(fail_silently).send_messages([self])
    File "/home/myuser/Copy/Projects/Programming/myproject/venv/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 87, in send_messages
      new_conn_created = self.open()
    File "/home/myuser/Copy/Projects/Programming/myproject/venv/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 48, in open
      local_hostname=DNS_NAME.get_fqdn())
    File "/usr/lib/python2.7/smtplib.py", line 251, in __init__
      (code, msg) = self.connect(host, port)
    File "/usr/lib/python2.7/smtplib.py", line 312, in connect
      (code, msg) = self.getreply()
    File "/usr/lib/python2.7/smtplib.py", line 356, in getreply
      line = self.file.readline()
    File "/usr/lib/python2.7/socket.py", line 447, in readline
      data = self._sock.recv(self._rbufsize)
  </code></pre>
  
  <p>Any help on why this isn't going through?</p>