Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个通过 gmail smtp 发送电子邮件的应用程序。身份验证是通过 oauth 完成的......有没有办法授权访问仅发送电子邮件?并且不检查收件箱?这样,如果访问令牌和消费者令牌以某种方式受到损害,黑客将无法真正阅读用户的收件箱,这比我猜的发送垃圾邮件更严重。
No, the scope allows full access to SMTP, IMAP and POP.
Refer xoauth2_protocol oauth_20_scopes