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

  • SEARCH
  • Home
  • 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 4619024
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:22:04+00:00 2026-05-22T02:22:04+00:00

On GAE, a non-gmail user can create a Google Account using their non-gmail email

  • 0

On GAE, a non-gmail user can create a Google Account using their non-gmail email and log into a google app engine application. However, sending from that email does not appear to work all the time.

For example, suppose foobar@yahoo.com creates a google account and they log in. Then, GAE should be able to send email from foobar@yahoo.com during a user request.

The problem is that this does not appear to work for yahoo email accounts and others. In my experience, only the following users can have email sent on their behalf:

  • Currently logged in gmail users
  • Currently logged in users with emails that run on google apps
  • Administrators

However, you cannot send email on behalf of users with the following email address:

  • yahoo and hotmail users
  • .gov or .mil users
  • most .edu users, although I think some schools use google apps and they work.

If I send from those email addresses, I get the following error:

   message.send();
  File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 799, in send
    raise ERROR_MAP[e.application_error](e.error_detail)
InvalidSenderError: Unauthorized sender

Am I missing something here?

I know there are similar questions out there on this topic but I don’t think they nail them.

  • 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-22T02:22:05+00:00Added an answer on May 22, 2026 at 2:22 am

    Your application has no right to originate email from addresses you don’t own.

    Doing so is called spoofing and there has been a lot of work done in the last 8 years to prevent spoofing: DKIM, SPF…

    If you need to send email you need to have your own email address(es)/domain to send the email from for this application and you’ll need to handle bounces as well.


    Update:

    Google Accounts

    Google accounts can be created using 3rd party domain email addresses (e.g. hotmail, yahoo, *.edu, etc). There will be an email confirmation step to verify the email address, but there may be no greater relationship than this. The email address is the “username” and there’s a password created with Google that has nothing to do with the 3rd party domain.

    Google accounts don’t have to have a mail service component. You can create a Google account and not have Gmail.

    Google email on a 3rd party domain

    Google Apps can be run “on” 3rd party domains, this can, but not necessarily include Google email.

    Google email could be run on any domain without any other “Apps”, they offer email outsourcing which is quite attractive to the Education sector. In this scenario, Google is authoritative for email for that domain.

    On behalf of mailing

    Google email has the functionality to set up “On Behalf of” emailing. This requires configuration. A confirmation email is sent to the target account. Once created the email is sent using the originating account’s email address in the mail envelope, so any delivery status messages (delays, rejections) will be returned to this account. The originating email address will also be in the sender header. The address that you’re sending on behalf of will appear in the from header in the messages, but otherwise, with regards to security settings and validation, it’s a Google email from Google.

    A quick search has returned some tech blog websites that suggest that they are considering retiring this feature in favour of supporting third party SMTP services.

    Third party SMTP server

    So someone could configure their Google Email account with the SMTP server, username and password of their mail service provider and use it to send email via their Google mail interface through the valid servers of their mail service provider. This email would therefore genuinely “originate” from that domain’s infrastructure.


    I’ve not read the documentation for this GAE function to send email. However, I can see that if someone is signed into their Google account and that account has a mail service, then it could be possible to send email from that account using an API.

    However, Google will not generate email “From” 3rd party domains for which it has not been assigned authority over. The email would not be valid; it would be “spoofed”. It may not comply with a variety of security enhancements, could be used maliciously and would bring them into disrepute.

    I hope this makes the situation clearer for you.

    If the documentation is lacking in this regard, it could be that those who wrote it, being so familiar with email, might find it hard to imagine someone would think it were possible.

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

Sidebar

Related Questions

I've been using Pydev/Eclipse to develop Google App Engine (GAE) applications but I've been
I'm using Django 1.1 on Google App Engine through use_library . No Django GAE
I'm looking at using CouchDB for one project and the GAE app engine datastore
I'm building a site on Google App Engine, running python and Django non-rel. Everything
When updating my app into GAE by using the following command: python appcfg.py update
I'm working on a web-app using Google App Engine with GWT, and I need
I've setup a static website on GAE using hints found elsewhere, but can't figure
In GAE (Python), using the webApp Framework, calling self.redirect('some_url') redirects the user to that
I was using GAE with Gapps on my domain, however it seems that ghs.google.com
My GAE java based application uses only one google user - the admin. For

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.