开发者

unable to add app engine administrator for emailing

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 string@appid.appspotmail.com).

So I created a user account on my Google Apps domain, no-reply@mydomain.com, 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 configur开发者_如何学运维e app engine to send emails using a Google Accounts email address?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜