Search Gmail: Difference between revisions

Jump to navigation Jump to search
236 bytes added ,  27 March 2011
→‎Query operators: highlight the query operators
(→‎Query operators: highlight the query operators)
Line 18: Line 18:


New letters in inbox
New letters in inbox
* in:inbox is:unread
* {{kbd | key = in:inbox is:unread}}


Time related
Time related
* Today --> after:yesterday (Due to the search "after:today" was not completed to cover all emails today, I suggest you use after:yesterday)
* Today --> {{kbd | key = after:yesterday }} (Due to the search "after:today" was not completed to cover all emails today, I suggest you use after:yesterday)
* Last Week --> after:oneweekago
* Last Week --> {{kbd | key = after:oneweekago }}




Focus some labels / Cluster with some labels
Focus some labels / Cluster with some labels
* My Focus --> (label:label_a OR label:label_b)
* My Focus --> {{kbd | key = (label:label_a OR label:label_b) }}
: focus on the letters with the labels: label_a or label_b
: focus on the letters with the labels: label_a or label_b
* My Focus (new) --> (label:label_a OR label:label_b) is:unread
* My Focus (new) --> {{kbd | key = (label:label_a OR label:label_b) is:unread }}
: focus on the '''new''' letters with the labels: label_a or label_b
: focus on the '''new''' letters with the labels: label_a or label_b




* Tentative --> in:anywhere subject:keywords  
* Tentative --> {{kbd | key = in:anywhere subject:keywords }}
: It will perform the keywords' search in all email box include the spam and trash
: It will perform the keywords' search in all email box include the spam and trash




search for all emails with no label 只看沒編過標籤的信
search for all emails with no label 只看沒編過標籤的信
* 列出所有標籤,然後再排除它們([http://groups.google.com/group/Gmail-Help-Organizing-Messages-en/browse_thread/thread/51312c132c3f8e83/8c903082b9ccbbd6?lnk=gst&q=search+for+no+label#8c903082b9ccbbd6 參考資料]):搜尋語法是 -label:標籤名稱1 -label:標籤名稱2  -label:標籤名稱3
* 列出所有標籤,然後再排除它們([http://groups.google.com/group/Gmail-Help-Organizing-Messages-en/browse_thread/thread/51312c132c3f8e83/8c903082b9ccbbd6?lnk=gst&q=search+for+no+label#8c903082b9ccbbd6 參考資料]):搜尋語法是 {{kbd | key = -label:標籤名稱1 -label:標籤名稱2  -label:標籤名稱3 }}
* 如果標籤已經很多,就顯得很麻煩
* 如果標籤已經很多,就顯得很麻煩


Line 43: Line 43:
Spam
Spam
* Spam unread -->  
* Spam unread -->  
** in:spam before:2007/5/1 (means the spam older than 2007/5/1)
** {{kbd | key = in:spam before:2007/5/1 }} (means the spam older than 2007/5/1)
** in:spam is:unread
** {{kbd | key = in:spam is:unread }}
** in:spam is:unread after:yesterday  (means latest spam :P)
** {{kbd | key = in:spam is:unread after:yesterday }} (means latest spam :P)
* inbox spam
* inbox spam
** specified language: using the [[Stop Word|stop word]] to filter
** specified language: using the [[Stop Word|stop word]] to filter


=== filename search ===
=== filename search ===
* Attachments --> has:attachment
* Attachments --> {{kbd | key = has:attachment }}
** without attachment: -has:attachment
** without attachment: {{kbd | key = -has:attachment }}


* filename search: support partial filename (test day: 2008-08-14)
* filename search: support partial filename (test day: 2008-08-14)
* [http://gmailblog.blogspot.com/2010/06/tip-5-things-you-may-not-know-you-can.html Tip: 5 things you may not know you can do with attachments in Gmail ]
* [http://gmailblog.blogspot.com/2010/06/tip-5-things-you-may-not-know-you-can.html Tip: 5 things you may not know you can do with attachments in Gmail ]
** has:attachment pdf
** {{kbd | key = has:attachment pdf }}
** filename:pdf
** {{kbd | key = filename:pdf }}


=== further reading ===
=== further reading ===

Navigation menu