更改各个邮箱上的 Gmail 邮件路由
我们正在为 Google Apps 域之一使用双重递送,并且需要能够禁用向 Gmail 帐户递送邮件。您可以通过管理界面手动更新每个用户的设置,方法是取消选中“电子邮件路由”部分中“Google Apps 电子邮件”旁边的框。
来自 Google Apps API 文档,python 库 我似乎没有以编程方式为每个用户禁用“Google Apps Email”的电子邮件路由。有谁知道这是否可能?
我能找到的唯一与路由相关的方法是在域级别而不是用户级别。
gdata.apps.adminsettings.service
谢谢!
We are using dual delivery for one of our Google Apps domains and need to be able to disable mail delivery to the Gmail account. You can manually update the settings on a per user basis through the Admin interface by unchecking the box next to "Google Apps Email" in the Email routing section.
From the Google Apps API documentation for the python library it does not appear that I programmatically disable the email routing for "Google Apps Email" on a per user basis. Does anyone know if it's possible?
The only routing related method I can find is at the Domain level and not the user level.
gdata.apps.adminsettings.service
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
正如您所发现的,无法通过 API 控制每个用户的路由。不过,您可以通过电子邮件设置 API 设置和清除用户的自动转发。请注意,用户有权访问此设置,因此他们可能会对其进行修改。另请注意,Google 对可以通过 API 自动转发到的域设置了限制(请参阅链接)
http://googleappsupdates.blogspot.com/2010/05/gmail-now-requires-verification-of.html
杰伊
As you found there is no way to control the per-user routing via the APIs. You can however set and clear the user's autoforward via the Email Settings API. Note that users have access to this setting so they could potentially modify it. Also note that Google has placed restrictions on what domains can be autoforwarded to via the API (see link)
http://googleappsupdates.blogspot.com/2010/05/gmail-now-requires-verification-of.html
Jay
@Jay 是对的,但是有一个
@Jay is right, however there is an issue here. The more support it gets the sooner this will be available.