【问题标题】:Python Send email from a delegated accountPython 从委托账户发送电子邮件
【发布时间】:2018-10-31 08:53:23
【问题描述】:

我正在使用 python 每月向用户发送记分卡。我想使用委派的 Gmail 帐户向用户发送电子邮件。附上图片供您参考。

我可以使用我的个人帐户向用户发送电子邮件。但我无法使用 Delegated 帐户向用户发送电子邮件。

此处附上错误消息截图。我用谷歌搜索错误消息,但找不到与错误消息相关的任何帖子。

Gmail Delegated Account Image

Python Script Image

Python Error Message Image

【问题讨论】:

    标签: python python-2.7 python-requests gmail-api


    【解决方案1】:

    您可能需要让不太安全的应用访问您的帐户。

    查看相关的谷歌答案:https://support.google.com/accounts/answer/6010255?hl=en

    顺便说一句,这写在“support.google.com”链接中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-06-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-10-13
      相关资源
      最近更新 更多