title: how to solve SMTPServerDisconnected in django email sending?
body: <p>How I can solve this issue when I test this on my localhost it's work but it doesn't work in server.<br>
  this is my code for email form.  </p>
  
  <pre><code>   class ContactCleaningView(TemplateView):
     template_name = 'contact_cleaning.html'
  
     def get(self, request, *args, **kwargs):
            context = self.get_context_data(**kwargs)
            context['form'] = ContactCleaning()
            return self.render_to_response(context)
  
     def post(self, request, *args, **kwargs):
            context = self.get_context_data(**kwargs)
            form = ContactCleaning(request.POST)
  
            if form.is_valid():
                   name = request.POST['name']
                   phone = request.POST['phone']
                   address =  request.POST['address']
                   email = request.POST['email']
                   zipcode = request.POST['zipcode']
                   rooms = request.POST['rooms']
                   bathrooms = request.POST['bathrooms']
                   service = request.POST['service']
                   subject = 'Cleaning-' + request.POST['subject']
                   description =  request.POST['description']
                   send_mail('From sams cleaning and hauling', "Name:"+name+"\nPhone:"+phone+"\nAddress:"+address+"\nZipcode:"+zipcode+"\nNumber Of Rooms:"+rooms+"\nNumber Of Bathrooms:"+bathrooms+"\nType Of Service:"+service+"\nSubject:"+subject+"\nDescription:"+description, email, [
                                   settings.DEFAULT_FROM_EMAIL, ], fail_silently=False)
                   # contact_form = ContactCleaning(name=name, email= email, phone=phone,address=address, subject=subject, message=message)
                   # contact_form.save()
            # context['form'] = form
            # return self.render_to_response(context)
            return HttpResponseRedirect('/')
  </code></pre>
  
  <p>and this is my settings.py configuration  </p>
  
  <pre><code>    EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
      EMAIL_USE_TLS = False
      EMAIL_HOST = 'mail.cleaningandhauling.us'
      EMAIL_PORT = 25
      EMAIL_HOST_USER = ''
      EMAIL_HOST_PASSWORD = ''
      DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
  </code></pre>