使用 API 更改 IMAP 文件夹大小限制
Change IMAP folder size limits using API
在您的 gmail account settings 上,您可以设置 IMAP 文件夹大小限制:
我的目标是 select "Do not limit the number of messages in an IMAP folder (default)" 选项使用某种 API,但在 API documentation.
中没有任何用处
还有其他方法可以关闭此限制吗?
您可以使用 Gmail API to do this. Calling the users.settings.updateImap method with maxFolderSize
set to 0
will remove the folder limit. Reference doc: https://developers.google.com/gmail/api/v1/reference/users/settings/updateImap
在您的 gmail account settings 上,您可以设置 IMAP 文件夹大小限制:
我的目标是 select "Do not limit the number of messages in an IMAP folder (default)" 选项使用某种 API,但在 API documentation.
中没有任何用处
还有其他方法可以关闭此限制吗?
您可以使用 Gmail API to do this. Calling the users.settings.updateImap method with maxFolderSize
set to 0
will remove the folder limit. Reference doc: https://developers.google.com/gmail/api/v1/reference/users/settings/updateImap