Solving “InvalidSenderError: Unauthorized sender” in AppEngine

Mon, Mar 8, 2010

Tech Tips

You might get this message in Google AppEngine when sending an email message and specifying a custom from address. To get it to work you must add the address as a developer for your application (or use the email address you signed up with).

Steps to Add a Developer Email Address:

  1. Log in to your Google App Engine Account.
  2. Under Administration, click Permissions, and add the email address.
  3. Log out, and check for the validation email.

More Info:
This is quite a hassle. I understand the reason is to cut back on spam but not only do you have to have a valid email account but you must create a google account for it.
In my case, I just wanted to send notifications out but I don’t monitor the sender address (but I do include a contact link in the email).
Darn spammers!

Bookmark and Share
,

10 Responses to “Solving “InvalidSenderError: Unauthorized sender” in AppEngine”

  1. duxa Says:

    Thank god someone took the time to detail their solution. Much appreciated!

  2. appengine_dev Says:

    Strange – there is no “Developers” under the Administration section.
    I am using Google Apps authentication.

  3. Abu al-Sous Says:

    Great job, easy to following instructions. May god bless you.

  4. Rich Says:

    Note that the email address you use has to be an actual Google login… if you use Google Apps for your email then a nickname/alias won’t cut it.

  5. Warwick Says:

    Another gotcha: the link in the invitation email looks like this:

    https://appengine.google.com/permissions/newadmin?app_id=yourengine&token=TaX8a8qX8BI=

    But MS Outlook doesn’t think the trailing “=” is part of the link. So try cut-and-paste the link rather than clicking, since without the trailing “=”, you are just silently redirected to http://appengine.google.com/start

  6. Rafael Says:

    Nice job. It was really useful.
    Thanks.

  7. Kim, Seongjun Says:

    Thank you so much!! You save my valuable time.

  8. Selma Says:

    Thank you very much, it works fine.