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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:32:48+00:00 2026-05-26T16:32:48+00:00

Years back I built a simple mail form that has been working like a

  • 0

Years back I built a simple mail form that has been working like a champ, but in the last couple months the logs show I’m getting an error when EmailMessage’s send() method gets called.

I wrote a quick test to see if a stripped down version of an EmailMessage would work without error:

class TestEmail(webapp.RequestHandler):
  def get(self):
    fromAddress = "APPOWNEREMAIL@gmail.com"
    email = mail.EmailMessage(sender=fromAddress)
    email.to = self.request.get('to') + '@gmail.com' 
    email.subject = "Test Email"
    email.body = "Testing the email system"
    email.html = "<strong>Testing the <em>email</em> system</strong>"
    email.check_initialized()
    email.send() 

Simple enough, but if I call that with:

http://MYAPPNAME.appspot.com/test-email?to=TOTALLYLEGITEMAIL

I still get the same error (note check_initialized() isn’t throwing an error):

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
handler.get(*groups)
File "/base/data/home/apps/s~myappname/3.354527616249361817/myappname.py", line 370, in get
email.send()
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 895, in send
raise e
ApplicationError: ApplicationError: 1 Internal error

I haven’t made any recent changes to the app, it’s a lightly used app well below quota, it’s sending as the email associated with the app owner and after spending a few hours scrutinizing the code, I’m still no closer to an answer.

Even more distressing, every Google search I come up with offers no new help. The best I could find was this question: Google app engine send mail service raises exception which sounds exactly like my problem, but in that case there wasn’t a solution, the problem just went away.

Any idea how I can track this one down? Let me know if I need to clarify anything. Thanks!

  • 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-05-26T16:32:48+00:00Added an answer on May 26, 2026 at 4:32 pm

    What is your appid?

    There is currently an issue that sending mail from an application whose appid is the same as the owner’s gmail name will fail. eg, I have a gmail address “moishel at gmail dot com”; if I created an app whose appid is ‘moishel’ (before version 1.6.0) it will fail when trying to send mail. Note that this problem does not exist for apps created with version 1.6.0 or after.

    Here’s the issue: http://code.google.com/p/googleappengine/issues/detail?id=5320

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

Sidebar

Related Questions

I built this site a couple of years back and but am now in
I feel like I'm traveling 10 years back in time by asking this, but...
I have a Maven project that was built a few years back, and now
I've been doing PHP/MySQL websites with shared hosting providers for the last couple years.
Regarding a site I built a few years back, I've been asked Does the
A Couple of years back due to a improperly implemented Try Catch Finally block
I remember seeing a poster a few years back that had a nice break
I've been interested in the Blackboard pattern for years (especially back when I was
I'm just getting back into C++ after a couple of years of doing a
I am working on a scientific application that has readily separable parts that can

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.