问题描述
我正在尝试使用 Gmail API 和 Google 管理员创建自定义“发件人”发送别名 (sendAsEmail):https://developers.google.com/gmail/api/reference/rest/v1/users.settings.sendAs/create
sendAsEmail is not a valid user or group
出现 400 错误。
在 Google Admin 中,我有 3 个经过验证的域,所有域都使用 MX 在 gmail 服务中正确注册:
@domain-a.com is primary domain
@domain-b.com (not a domain alias)
@domain-c.com (not a domain alias)
[email protected]
是一个用户,没有定义发送别名。
当我创建 sendAsEmail [email protected]
时,没问题。我可以看到它出现在 gmail 中。
当我创建 sendAsEmail [email protected]
时,它失败了。我不知道为什么。如果我在 Google Admin 中搜索 [email protected]
以确定它是否不是一个组,则没有结果。非常欢迎任何帮助。
我正在使用 PHP 进行 api 调用,但我不认为问题与语言有关。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)