电子邮件API授权发件人 [英] Email API authorized senders

查看:1530
本文介绍了电子邮件API授权发件人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在GAE上使用python发送电子邮件,所以编辑为电子邮件API授权发件人:

  https:/ /console.developers.google.com/project/MY_PROJECT/appengine/settings 

发件人,我添加了 support@mydomain.com (其中 mydomain.com 通过google域名注册,并链接到MY_PROJECT)



我收到一条消息,说我没有足够的特权来进行此更改。任何想法为什么?非常感谢。

解决方案

文档说明


电子邮件上的所有电子邮件地址API授权发件人列表需要
是有效的Gmail或Google托管的域帐户。有
限制谁可以将其添加到电子邮件API授权发件人
列表:


  • 应用程序管理员可以添加自己

  • 只要noreply@domain.com是有效帐户,Google Apps域中托管的应用程序的应用程序管理员就可以添加
    noreply@domain.com

  • 由Google Apps管理的网域管理员可以在其网域中添加任何
    用户


因此,您需要成为Google Apps管理员,并且您试图添加的用户也必须存在于Google Apps中。可悲的是,文档没有提及应用程序域中的,这非常有用。


I want to send emails using python on GAE, so edited "Email API authorized senders" in:

https://console.developers.google.com/project/MY_PROJECT/appengine/settings

under "Email API authorized senders", I added support@mydomain.com (where mydomain.com is registered via google domain, and linked to MY_PROJECT)

I got a message saying I don't have enough privilege to make this change. Any idea why? Thanks so much.

解决方案

The documentation says

All email addresses on the Email API Authorized Senders list need to be valid Gmail or Google-hosted domain Accounts. There are restrictions on who can add whom to the Email API Authorized Senders list:

  • Application administrators can add themselves
  • Application administrators for applications hosted in a Google Apps domain can add noreply@domain.com, as long as noreply@domain.com is a valid account
  • Domain administrators of domains managed by Google Apps can add any user in their domain

So you would need to be a Google Apps admin and the user you're trying to add must also exist in Google Apps. Sadly the documenation doesn't mention groups in the Apps domain which would be quite useful.

这篇关于电子邮件API授权发件人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆