send_mail is clearly sending email but no email is showing up in inbox
<p>I have these email settings in my <code>settings.py</code></p>

<pre><code>EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'email@myemail.com'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_PORT = 587
</code></pre>

<p>and am using this function to send email to recipients.</p>

<pre><code>def send_email(subject, body, recipients, agent_email, bcc=[], attachments=[]):
    recipient_list = []
    if isinstance(recipients, (str, unicode,)):
        recipient_list.append(recipients)
    else:
        recipient_list = recipients

    recipient_list = recipient_list + bcc

    send_mail(subject, body, settings.EMAIL_FROM, recipient_list)
</code></pre>

<p>while it looks quite clear when I go to the <code>django-admin</code> site that the email was indeed sent and no error messages show in the log files whatsoever, when I go to check the email that it was sent to, nothing shows in the inbox. I would expect to see the email there, especially given that it shows as sent in <code>django-admin</code>. Have I misunderstood something about how email is sent from the system?</p>

<p><b>EDIT</b></p>

<p>I also checked my spam folder and added</p>

<pre><code>EMAIL_FROM = 'email@myemail.com'
</code></pre>

<p>because I noticed it wasn't there before. Same results, though. Email appears sent according to <code>django-admin</code> but no email in my inbox.</p>

<p>Try to add the following in settings.py</p>

<pre><code>EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'    
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
</code></pre>

python django python-2.7 email webserver