从IMAP访问gmail星形颜色 [英] Access gmail star color from IMAP

查看:101
本文介绍了从IMAP访问gmail星形颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Gmail的星形比黄色星形的星形更多,但是默认情况下未启用它们. http://support.google.com/mail/bin /answer.py?hl=zh-CN&answer=5904

Gmail has more stars than just the yellow colored star but they are not enabled by default. http://support.google.com/mail/bin/answer.py?hl=en&answer=5904

是否可以从IMAP客户端搜索Gmail中具有特定星色的所有邮件?

Is it possible to search for all messages in Gmail with a certain star color from an IMAP client?

我尝试了以下失败的尝试:

I have tried the following with no success:

tag SEARCH X-GM-RAW "has:red-star"

tag SEARCH X-GM-RAW "has:red-star in:inbox"

tag SEARCH X-GM-RAW "has:red-star in:anywhere"

推荐答案

是的,应该完全可以使用.在 Gmail IMAP扩展页面:

Yeah, that should totally work. From the Gmail IMAP Extensions page:

SEARCH命令的扩展名:X-GM-RAW

要提供对完整的Gmail搜索语法的访问权限,Gmail提供了 X-GM-RAW搜索属性.参数随X-GM-RAW一起传递 执行SEARCH或UID SEARCH命令时的属性为 解释方式与Gmail网络界面中的解释方式相同.

To provide access to the full Gmail search syntax, Gmail provides the X-GM-RAW search attribute. Arguments passed along with the X-GM-RAW attribute when executing the SEARCH or UID SEARCH commands will be interpreted in the same manner as in the Gmail web interface.

对于星标,针对Gmail的高级搜索语法注意,您可以使用以下查询参数:

For stars, the advanced search syntax for Gmail notes that you can use these query parameters:

has:yellow-star
has:red-star
has:orange-star
has:green-star
has:blue-star
has:purple-star
has:red-bang
has:orange-guillemet
has:yellow-bang
has:green-check
has:blue-info
has:purple-question

在没有has:red-star的情况下可以进行搜索吗?

Does your search work without has:red-star?

这篇关于从IMAP访问gmail星形颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆