title: Django email
body: <p>I am using the Gmail SMTP server to send out emails from users of my website.</p>
  
  <p>These are the default settings in my settings.py</p>
  
  <pre><code>EMAIL_HOST = 'smtp.gmail.com'
  EMAIL_HOST_USER = 'example@example.com'
  EMAIL_HOST_PASSWORD = 'pwd'
  EMAIL_PORT = 587
  EMAIL_USE_TLS = True
  SERVER_EMAIL = EMAIL_HOST_USER
  DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
  </code></pre>
  
  <p>If I want a user to send an email, I am overriding these settings and sending the email using Django's email sending methods. When an exception occurs in the system, I receive an email from the example@example.com. Sometimes I receive an email from some logged in user. Which could also possibly mean that when a user receives an email sent from my website it has a sent address different from the actual user. </p>
  
  <p>What should be done to avoid this situation?</p>