title: Django can send "reset password" mail but cannot use the "send_mail"
body: <p>I want to send a &quot;greetings&quot; mail, when people sign up for my webpage.</p>
  <p>I can send a &quot;reset password&quot; email using the built in <code>auth_views.PasswordResetView</code> but when I try use the <code>django.core.mail.send_mail</code> I get an <code>Username and Password not accepted.</code></p>
  <p>My <code>settings.py</code></p>
  <pre class="lang-py prettyprint-override"><code>.
  .
  #Email config
  EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' 
  EMAIL_USE_TLS = True
  EMAIL_PORT = 587
  DEFAULT_FROM_EMAIL = &quot;My Name &lt;no-reply@my_site.com&gt;&quot;
  EMAIL_HOST = 'smtp.gmail.com'
  EMAIL_HOST_PASSWORD = app_cred
  EMAIL_HOST_USER = app_email
  </code></pre>
  <p>and <code>views.py</code></p>
  <pre class="lang-py prettyprint-override"><code>def register(request):
      if request.method==&quot;POST&quot;: #post request
          form = UserRegisterForm(request.POST)
          agree_form = AgreeForm(request.POST)
          if form.is_valid() and agree_form.is_valid():
              user = form.save(commit=False)
              user.email = form.cleaned_data[&quot;email&quot;]
              user.save()
              
              send_mail(subject = &quot;Welcome to my-site.com&quot;,
              message = &quot;Welcome!&quot;,
              from_email = None,
              recipient_list = [user.email])
              return redirect(&quot;login&quot;)
      else:
          form = UserRegisterForm()
          agree_form = AgreeForm()
  
      return render(request,&quot;users/register.html&quot;,context= {&quot;form&quot;:form,&quot;agree_form&quot;:agree_form})
  </code></pre>
  <p>As far as I understand, Django uses the credentials specified in the settings, so I wonder why I can send a password-reset mail but cannot use the <code>send_mail</code> method using the same credentials?</p>