GAE:从Google Apps域中的任意电子邮件地址发送电子邮件

时间:2013-02-05 17:08:16

标签: google-app-engine

请参阅以下有关在Google App Engine中发送电子邮件的文档:    https://developers.google.com/appengine/docs/python/mail/sendingmail

它表示电子邮件发件人(即发件人地址)可能是:    任何有效的电子邮件接收域帐户的地址,例如support@example.com。域帐户是Google域外的帐户,其电子邮件地址不以@ gmail.com或@ APP-ID.appspotmail.com结尾。

这似乎意味着只要我的域mycompany.com是Google Apps域并且我已添加到我的Google Apps CPanel即服务中,我就可以从任意地址发送电子邮件这不是现有用户,例如:whatever@mycompany.com。请注意,我将应用的身份验证类型设置为“Google Apps Domain”,而是将其设置为“Google Accounts API”。

然而,这不是这样的。如果是现有的Google Apps用户,我只能发送电子邮件,并以管理员身份向该应用注册。

请澄清。感谢。

1 个答案:

答案 0 :(得分:2)

你应该在你引用的句子后继续阅读:

Any valid email receiving address of a domain account, such as support@example.com. Domain accounts are accounts outside of the Google domain with email addresses that do not end in @gmail.com or @APP-ID.appspotmail.com. To send an email from an existing domain account, add the domain account as a Developer to your application using the Administration Console. The account is then sent an email with an invite to develop the application, which you must accept to add the account to the application.

因此,您仍然需要在GAE Admin下添加域用户 - >权限。