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 9246565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:31:12+00:00 2026-06-18T09:31:12+00:00

I have an AppEngine Python/Django application that sends a confirmation email upon registration. I

  • 0

I have an AppEngine Python/Django application that sends a confirmation email upon registration. I do not have an SMTP server setup locally, and I do not have any plans to setup a local server.

Because I do not have an SMTP server setup locally, when I register a new user on the development server, the program generates the following error: “SMTPServerDisconnected: please run connect() first”.

According to the AppEngine documentation at: https://developers.google.com/appengine/docs/python/tools/devserver Quote: “If mail is not enabled with either SMTP or Sendmail, then attempts to send email from the application will do nothing, and appear successful in the application.”

How can I either (1) supress these error messages when the mail fails on the development server, or (2) prevent the server from trying to send emails? Is the documentation correct?

Since my app sends emails from a task queue, this failure results in retries which generates a lot of error messages, which makes it difficult for me to see the relevant information in the logs.

  • 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-18T09:31:13+00:00Added an answer on June 18, 2026 at 9:31 am

    The docs are correct, but they’re referring to the App Engine mail API. Based on your error message, it looks like you’re using smtplib (probably via a Django module) which tries to connect to the SMTP server directly. The best you can do is probably to detect when running on the dev server and catch the exception you’re seeing.

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

Sidebar

Related Questions

I have a ~2MB file that my Google AppEngine server must use (not serve)
I have a python/django application that runs on the google app engine. My views.py
I have an application that uses Python appengine, there is a service that updates
I'm having trouble using python function decorators in Google's AppEngine. I'm not that familiar
I'm writing a Google AppEngine python application that needs to connect to Google for
I have a App Engine/Python/Django application which has grown and been modified over the
I'm developing a web application on App Engine Python. I have a form with
I have uploading of pictures in an appengine application. Pictures was saved in blobstore.
I have an application hosted in Java on AppEngine and I would like to
I have setup Custom Domain https://developers.google.com/appengine/docs/domain I have uploaded An SSL certificate and private

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.