Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8375131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:05:39+00:00 2026-06-09T15:05:39+00:00

I created the following entries in my ‘settings.py’ file # Email setup EMAIL_USE_TLS =

  • 0

I created the following entries in my ‘settings.py’ file

# Email setup
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = 'someone@someorg.com'
EMAIL_HOST_PASSWORD = 'thepassword'
EMAIL_PORT = 587

Then I issued the following command in the terminal:

email = EmailMessage('Hello','Have you received this mail?',to=['someone@gmail.com'])

I got 1 as an ouput.

When I checked the mailbox at ‘someone@gmail.com’,no mail was there in the mailbox.Did I miss something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:05:41+00:00Added an answer on June 9, 2026 at 3:05 pm

    You should setup from_email parameter (as a kwarg or 3rd arg) with EmailMessage call. Or define in settings.py:

    DEFAULT_FROM_EMAIL = 'some.mail@inter.net'
    

    This is taken as default if no from_email is provided to EmailMessage.

    On a semi-related note, it’s probably a good idea to also define SERVER_EMAIL in settings.py. This one is used with mail_admins and mail_managers by Django.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one JSON file like following: {entries:[{title:‘foo’,id:‘01’,created:‘2010-12-06’},{title:‘bar’,id:‘02’,created:‘2010-12-05’}]} And also I have one html
I have created following rule in the .htaccess file located at the root of
I created the following method for retrieving stored settings from the database: public String
Imagine you created the following simple widget with UiBinder: <!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent> <ui:UiBinder
I added WCF Servicereference to my webapplication ,the following entries got created to my
I have the following code: Dir.chdir(mydir) Dir.entries(mydir).each do |file| log.info(file) end My problem is
I have created following thing in android using android compatibility support package Basically i
I need to have the URL like photos/13/rate => I have created following routing
I created a following class within a namespace Global namespace Global { public static
I created the following code,which enables the dropdown to get all the values from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.