谷歌应用引擎中授权发送者的标准

2024-05-31 23:16:55 发布

您现在位置:Python中文网/ 问答频道 /正文

首先,这两个stackoverflow页面都没有回答我的问题(12)。其中一个应该被删除,因为它引用的文本似乎过时了。你知道吗

关于这个主题的文件如下(3):

For security purposes, the sender address of a message must be one of the following:

  • The Gmail or Google Apps Account of the user who is currently signed in
  • Any email address of the form anything@appname.appspotmail.com or anything@appalias.appspotmail.com
  • Any email address listed in the Cloud Platform Console under Email API Authorized Senders

我试着添加anything@appname.appspotmail.com但他们都失败了。因此,我的问题是:

  1. 什么是appname或appalias?(我在控制台的项目信息页面中尝试了“项目名称”)
  2. (现在意识到这一点)符合这种语法的电子邮件是否必须输入到授权发件人列表中,或者它们只是假设的(其中“假设”意味着我可以在GAE中创建的电子邮件中始终使用它们作为发件人地址)?你知道吗

我现在预计情况会是这样,但我认为如果文档中的这种模糊性得到澄清,可能会有所帮助。你知道吗

谢谢你。你知道吗


Tags: oroftheincomaddress电子邮件email
1条回答
网友
1楼 · 发布于 2024-05-31 23:16:55

对于#1:

  • appname是应用程序的ID
  • appalias是已迁移应用程序(自动创建)的应用程序ID 例如,在将旧的主从应用程序迁移到HRD期间,请参见 Deleting a Google App Engine alias app?)。你知道吗

对于#2-你是对的(第二个项目符号doc quote没有其他意义,因为第三个项目符号涵盖了它)

顺便说一句,您可以使用文档页面右上方的Send feedback链接。。。好。。。在该页面上发送反馈。你知道吗

相关问题 更多 >