0
votes

I want to send emails from my app engine application using one of my Google Apps accounts. According to the GAE python docs:

The From: address can be the email address of a registered administrator (developer) of the application, the current user if signed in with Google Accounts, or any valid email receiving address for the app (that is, an address of the form [email protected]).

So I created a user account on my Google Apps domain, [email protected], to use for outbound email notifications. However, when I try to add the user as an administrator of the app, it fails with this error:

Unauthorized You are not authorized to access this application

Is it possible to configure app engine to send emails using a Google Accounts email address?

2
At what step of adding the administrator does it fail with that error?Saxon Druce

2 Answers

0
votes

You must restrict your App Engine app to a Google Apps domain upon initial registration of your App Engine application ID. Unfortunately, this setting can only be set during the initial registration of your app ID.

What you'll need to do is register another application ID, set your authentication option for Google Apps domain, and upload your existing app to the newly registered ID.

Simply going through the "Domain Setup" process in your Dashboard is not enough; you'll only be able to add the app as a service and "host" it using your domain name. To restrict the authorization to your domain only, you'll need to do the first step in the initial registration.

0
votes

I had also problems adding administrators. In the end, I used a regular gmail account as the sender. Which only works if sending as *@googlemail.com. *.gmail.com fails.