title: Cannot send email using Django and NGINX Server (DigitalOcean droplet)
body: <p>I'm trying to send emails using Django without success.<br>
  I configured the <strong>settings.py</strong> file as below:<br></p>
  
  <pre><code>EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
  EMAIL_USE_TLS = True
  EMAIL_HOST = 'smtp.gmail.com'
  EMAIL_HOST_USER = "xxx@gmail.com"
  EMAIL_HOST_PASSWORD = "xxx"
  EMAIL_PORT = 587
  EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  </code></pre>
  
  <p>I wrote a very simple view to test email sending:<br></p>
  
  <pre><code>def send_email_test(request):
          from_email = "xxx@gmail.com"
          to = "yyy86@gmail.com"
          send_mail("test oggetto", "test messaggio", from_email, [to], fail_silently=False)
          print "email sent"
          return render_to_response('index.html', context_instance=RequestContext(request))
  </code></pre>
  
  <p>On my server console I can see this log:<br></p>
  
  <pre><code>Content-Type: text/plain; charset="utf-8"
  MIME-Version: 1.0
  Content-Transfer-Encoding: 7bit
  Subject: test oggetto
  From: xxx@gmail.com
  To: yyy@gmail.com
  Date: Thu, 09 Jul 2015 09:18:47 -0000
  Message-ID: &lt;20150709091847.28525.42497@MyServer&gt;
  
  test messaggio
  -------------------------------------------------------------------------------
  email sent
  </code></pre>
  
  <p>Anyway, I do not receive the mail on my email account.<br>
  Any suggestion?</p>