title: mail is not sent by django-contact-form app and there is no error message
body: <p>I've installed this <a href="https://github.com/jezdez/django-contact-form" rel="nofollow">django-contact-form</a> app.
  When I want to send an email to my gmail account via contact form I get no error and I am redirected to my  <strong>contact_form_sent.html</strong>, but there is no mail sent. Can anyone help me in debugging this issue. Is this a problem of smtp server, because I am testing from localhost???</p>
  
  <p>My configurations are as follows, it is similar to <a href="http://patrickbeeson.com/blog/2007/oct/30/how-install-djangocontactform/" rel="nofollow">Patrick Beeson's</a> :</p>
  
  <p><strong>settings.py</strong>
  I have already checked other email accounts and their appropiate ports.</p>
  
  <pre><code>DEBUG = True
  TEMPLATE_DEBUG = DEBUG
  
  ADMINS = (
        #('***', '***@googlemail.com'),
  )
  
  MANAGERS = ADMINS
  
  EMAIL_HOST = 'smtp.gmail.com'   
  EMAIL_HOST_PASSWORD = '********'  
  EMAIL_HOST_USER = '******@googlemail.com' 
  EMAIL_PORT = 587 #465 or 587  
  #EMAIL_SUBJECT_PREFIX = 'Django Test mail'  
  EMAIL_USE_TLS = True  
  </code></pre>
  
  <p><strong>urls.py</strong></p>
  
  <pre><code>(r'^contact/', include('contact_form.urls')),
  </code></pre>
  
  <p><strong>contact_form.html</strong></p>
  
  <pre><code>...
                &lt;form method="POST"&gt;
                &lt;ol&gt;
                {{ form.as_p }}
                &lt;li&gt;
            &lt;input type="submit" name="submit" value={% trans "Senden" %} /&gt;
                  &lt;div class="clr"&gt;&lt;/div&gt;
                &lt;/li&gt;
                &lt;/ol&gt;
                &lt;/form&gt;
  ...
  </code></pre>
  
  <p><strong>contact_form.txt</strong></p>
  
  <pre><code>{{ name }}
  {{ email }}
  {{ body }}
  </code></pre>
  
  <p><strong>contact_form_sent.html</strong></p>
  
  <pre><code>{% block content %}
             &lt;h2&gt;{% trans "Your message was sent." %}&lt;/h2&gt;
  {% endblock %}
  </code></pre>
  
  <p><strong>contact_form_subject.txt</strong></p>
  
  <pre><code>message from {{ name }}
  </code></pre>
  
  <p>EDITED</p>
  
  <p>when setting <code>action="."</code> in my <strong>contact_form.html</strong> and adding <code>print request.POST</code> I get this in my development server at localhost, after clicking the submit button:</p>
  
  <pre><code>&lt;QueryDict: {u'body': [u'This is my Test message for you !!\r\n\r\nBest Regards\r\nMr. NoOne'], u'name': [u'testname'], u'submit': [u'Send'], u'email': [u'anyone@myemail.
  com']}&gt;
  </code></pre>
  
  <p>EDITED</p>
  
  <p>If I write my own view.py I get this error:</p>
  
  <pre><code>Request Method:     POST
  Request URL:    http://127.0.0.1:8000/en/contact/
  Exception Type:     error
  Exception Value:    
  
  (10065, 'No route to host')
  
  Exception Location:     C:\Python25\lib\smtplib.py in connect, line 310
  Python Executable:  C:\Python25\python.exe
  Python Version:     2.5.0
  Python Path:    ['H:\\webpage', 'C:\\WINDOWS\\system32\\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages']
  </code></pre>
  
  <p><strong>my new own views.py looks like:</strong></p>
  
  <pre><code>from django.conf import settings
  from django.http import HttpResponse
  from django.shortcuts import render_to_response
  from django.template import RequestContext
  from django.core.mail import send_mail
  
  from contact_form.forms import ContactForm
  
  
  def email_contact(request, form_class=ContactForm, template_name='contact_form/contact_form.html'):
      form = form_class(data=request.POST, files=request.FILES, request=request)
      if request.method == "POST":
          send_mail('Subject here', 'Here is the message.', 'from@example.com', ['to@example.com'], fail_silently=False)
          print request.POST
      return render_to_response(template_name, { 'form': form }, context_instance=RequestContext(request))
  </code></pre>
  
  <p>What is going wrong here?</p>