Search Gmail: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(→‎Query operators: add 不支援部分字串搜尋)
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Template:File search}}
Search letters in Gmail with specified '''Label''' as '''Search keywords'''(Query operators).
Search letters in Gmail with specified '''Label''' as '''Search keywords'''(Query operators).


== 預設標籤(default labels) ==
== 預設標籤(default labels) ==
* label:inbox 收信匣,
* label:inbox 收信匣,
** label:read 已讀信件 (搜尋時lable:read與is:read的效果一樣),,
** label:read 已讀信件 (搜尋時 lable:read 與 is:read 的效果一樣),,
** label:unread 新信件/未讀信件 (搜尋時lable:unread與is:unread的效果一樣),,
** label:unread 新信件/未讀信件 (搜尋時 lable:unread 與 is:unread 的效果一樣),,
* label:starred 星號標記 (搜尋時lable:starred與is:starred的效果一樣),  
* label:starred 已加星號標記 (搜尋時 lable:starred 與 is:starred 的效果一樣),  
* label:chat 交談記錄 (搜尋時lable:chat與in:chat、is:chat的效果一樣),
* is:important Gmail建議的重要信件 ([http://support.google.com/mail/bin/answer.py?hl=zh-Hant&answer=186531&topic=1669050&ctx=topic 優先收件匣簡介 - Gmail說明], [http://support.google.com/mail/bin/answer.py?hl=en&answer=186543 How importance ranking works - Gmail Help]{{access | date = 2012-02-07}})
* label:chat 交談記錄 (搜尋時 lable:chat 與 in:chat 、 is:chat 的效果一樣),
* label:sent 寄件備份,  
* label:sent 寄件備份,  
* label:draft 或 label:drafts 草稿 (搜尋時label:draft 與 is:drafts 的效果一樣),  
* label:draft 或 label:drafts 草稿 (搜尋時 label:draft 與 is:drafts 的效果一樣),  
* label:anywhere 所有郵件(含垃圾信件/廣告信件 與 垃圾桶的信件),  
* label:anywhere 所有郵件(含垃圾信件/廣告信件 與 垃圾桶的信件),  
* label:spam 垃圾信件/廣告信件,  
* label:spam 垃圾信件/廣告信件,  
* label:trash 垃圾桶
* label:trash 垃圾桶
* label:muted 標示為Muted的信件對話,如果有新信件,將不會顯示在收信匣 (需要至lab啟用Smart mute) (搜尋時label:muted 與 is:muted 的效果一樣)
* file size of attachment:
* category defined by Gmail (Labs: require to enable the [http://www.readwriteweb.com/archives/gmail_gets_smart_labels_to_help_filter_messages_an.php SmartLabel])
** input {{kbd | key=larger:20m}} or {{kbd | key=size:20m}} to search the attachment larger than 20 MB or
** label:bulk
** input {{kbd | key=size:500k}} to search the attachment larger than 500 KB <ref>[http://stackoverflow.com/questions/16392366/how-to-delete-emails-with-larger-file-attachments gmail - How to delete emails with larger file attachments - Stack Overflow]</ref><ref>[http://www.playpcesor.com/2012/11/gmail.html Gmail 隱藏技巧:搜尋出超過某個大小的所有郵件附檔 -電腦玩物]</ref>
** label:forums
 
** label:notifications
experimental function:
** label:personal
* label:muted 標示為Muted的信件對話,如果有新信件,將不會顯示在收信匣 (需要至lab啟用Smart mute) (搜尋時 label:muted 與 is:muted 的效果一樣)
** label:promotions
 
=== category ===
分類說明<ref>[https://support.google.com/mail/answer/3094499?hl=en&co=GENIE.Platform%3DDesktop&sjid=13065913722649055332-AP#zippy=%2Ccant-find-emails-in-a-category%2Csearch-a-category%2C%E6%90%9C%E5%B0%8B%E7%89%B9%E5%AE%9A%E9%A1%9E%E5%88%A5 Add or remove inbox categories & tabs in Gmail - Computer - Gmail Help]</ref>
<table border="1">
  <tr>
    <th>英文分類</th>
    <th>中文分類</th>
    <th>分類描述</th>
  </tr>
  <tr>
    <td>Primary</td>
    <td>主要</td>
    <td>由你認識的對象傳送的電子郵件,以及未出現在其他分頁中的郵件。</td>
  </tr>
  <tr>
    <td>Social</td>
    <td>社交網路</td>
    <td>來自社交網路和媒體分享網站的郵件。</td>
  </tr>
  <tr>
    <td>Promotions</td>
    <td>促銷內容</td>
    <td>特惠活動、優惠和其他促銷內容電子郵件。</td>
  </tr>
  <tr>
    <td>Updates</td>
    <td>最新快訊</td>
    <td>通知、確認訊息、收據、帳單及對帳單。</td>
  </tr>
  <tr>
    <td>Forums</td>
    <td>論壇</td>
    <td>來自線上群組、討論區和郵寄清單的郵件。</td>
  </tr>
  <tr>
    <td>Reservations</td>
    <td>預訂</td>
    <td>航班確認、飯店訂房和餐廳訂位等相關電子郵件。</td>
  </tr>
  <tr>
    <td>Purchases</td>
    <td>購物交易</td>
    <td>訂單、運送和出貨等相關電子郵件。</td>
  </tr>
</table>
 
 
應用:刪除超過一年沒有讀的廣告信 (出處:[https://twitter.com/tw111111111111/status/1717096184878391419/photo/1 Kazuho Oku])
<pre>
is:unread category:promotions older_than:1y
</pre>
 
== 在你寄信之前 ==
* 如果不使用標籤組織信件。可以在信件標題,加上 {{kbd | key= [專案簡稱] }} 或信件內容 {{kbd | key= [自訂標籤] }} ,方便日後整理信件。


== Query operators ==
== Query operators ==
Line 45: Line 102:


不支援部分字串搜尋 [[Image:Icon exclaim.gif]]
不支援部分字串搜尋 [[Image:Icon exclaim.gif]]
* 搜尋結果不包括部分字串相符的項目,或與查詢條件「類似」的項目。資料來源: [https://mail.google.com/support/bin/answer.py?hl=zh-Hant&answer=82454&ctx=cb 內收郵件未送達 - Gmail說明](test day: 2011-11-11)
* 「搜尋結果不包括部分字串相符的項目,或與查詢條件「類似」的項目。 ... ... 如果您搜尋 vacation,Gmail 會傳回含有這個字詞的電子郵件,但不會傳回包含 vacations 或 vaccations 的電子郵件。」 資料來源: [https://mail.google.com/support/bin/answer.py?hl=zh-Hant&answer=82454&ctx=cb 內收郵件未送達 - Gmail說明](test day: 2012-08-11)




Line 62: Line 119:
** without attachment: {{kbd | key = -has:attachment }}
** without attachment: {{kbd | key = -has:attachment }}


* filename search: support partial filename (test day: 2008-08-14)
* filename search: {{exclaim}}support partial filename (test day: 2012-10-29 the result of filename:7z did not return all email attached with the file format)
* [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 ]
** {{kbd | key = has:attachment pdf }}
** {{kbd | key = has:attachment pdf }}
** {{kbd | key = filename:pdf }}
** {{kbd | key = filename:pdf }}
 
** {{kbd | key = filename:"name with whitspace"}} try to remove underline if the file name including underline


=== find messages with specific star ===
=== find messages with specific star ===
* [http://gmailblog.blogspot.com/2011/08/tuesday-tip-stars.html Tuesday tip: Stars - Official Gmail Blog]
* [http://gmailblog.blogspot.com/2011/08/tuesday-tip-stars.html Tuesday tip: Stars - Official Gmail Blog]
<pre>
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
</pre>


=== further reading ===
* [https://mail.google.com/support/bin/answer.py?answer=7190&topic=1578 Gmail: Help Center - How do I use Advanced Search?]([https://gmail.google.com/support/bin/answer.py?answer=7190 中文說明: 如何使用進階搜尋?]) (last visited: February 22, 2006)
* [http://gmailblog.blogspot.com/2008/05/how-to-find-any-email-with-gmail-search.html Official Gmail Blog: How to find any email with Gmail search]


== label with the slash mark(/) ==
== label with the slash mark(/) ==
Line 97: Line 166:




== further reading ==
* [https://mail.google.com/support/bin/answer.py?answer=7190&topic=1578 Gmail: Help Center - How do I use Advanced Search?]([https://gmail.google.com/support/bin/answer.py?answer=7190 中文說明: 如何使用進階搜尋?]) (last visited: February 22, 2006)
* [http://gmailblog.blogspot.com/2008/05/how-to-find-any-email-with-gmail-search.html Official Gmail Blog: How to find any email with Gmail search]
* [http://fairyfish.net/2009/02/25/gmail-advanced-search/ Gmail 高级搜索技巧]
* [http://gadgetwise.blogs.nytimes.com/2010/11/10/5-tips-for-searching-gmail/ 5 Tips for Searching Gmail] By NICK BILTON, November 10, 2010


references


== other notes ==
<references/>
* [http://fairyfish.net/2009/02/25/gmail-advanced-search/ Gmail 高级搜索技巧]
* [http://gadgetwise.blogs.nytimes.com/2010/11/10/5-tips-for-searching-gmail/ 5 Tips for Searching Gmail] By NICK BILTON, November 10, 2010


[[Category:Email]] [[Category:Google]] [[Category:Search]]
[[Category:Email]] [[Category:Google]] [[Category:Search]]

Latest revision as of 12:16, 3 November 2023

Ψ 個人知識管理的搜尋任務類型: 電腦檔案或內文搜尋 | 多個PDF檔案的內文搜尋 | 自訂搜尋服務(網頁歸檔) | Gmail搜尋 Ψ


Search letters in Gmail with specified Label as Search keywords(Query operators).

預設標籤(default labels)[edit]

  • label:inbox 收信匣,
    • label:read 已讀信件 (搜尋時 lable:read 與 is:read 的效果一樣),,
    • label:unread 新信件/未讀信件 (搜尋時 lable:unread 與 is:unread 的效果一樣),,
  • label:starred 已加星號標記 (搜尋時 lable:starred 與 is:starred 的效果一樣),
  • is:important Gmail建議的重要信件 (優先收件匣簡介 - Gmail說明, How importance ranking works - Gmail Help[Last visited: 2012-02-07])
  • label:chat 交談記錄 (搜尋時 lable:chat 與 in:chat 、 is:chat 的效果一樣),
  • label:sent 寄件備份,
  • label:draft 或 label:drafts 草稿 (搜尋時 label:draft 與 is:drafts 的效果一樣),
  • label:anywhere 所有郵件(含垃圾信件/廣告信件 與 垃圾桶的信件),
  • label:spam 垃圾信件/廣告信件,
  • label:trash 垃圾桶
  • file size of attachment:
    • input larger:20m or size:20m to search the attachment larger than 20 MB or
    • input size:500k to search the attachment larger than 500 KB [1][2]

experimental function:

  • label:muted 標示為Muted的信件對話,如果有新信件,將不會顯示在收信匣 (需要至lab啟用Smart mute) (搜尋時 label:muted 與 is:muted 的效果一樣)

category[edit]

分類說明[3]

英文分類 中文分類 分類描述
Primary 主要 由你認識的對象傳送的電子郵件,以及未出現在其他分頁中的郵件。
Social 社交網路 來自社交網路和媒體分享網站的郵件。
Promotions 促銷內容 特惠活動、優惠和其他促銷內容電子郵件。
Updates 最新快訊 通知、確認訊息、收據、帳單及對帳單。
Forums 論壇 來自線上群組、討論區和郵寄清單的郵件。
Reservations 預訂 航班確認、飯店訂房和餐廳訂位等相關電子郵件。
Purchases 購物交易 訂單、運送和出貨等相關電子郵件。


應用:刪除超過一年沒有讀的廣告信 (出處:Kazuho Oku)

is:unread category:promotions older_than:1y

在你寄信之前[edit]

  • 如果不使用標籤組織信件。可以在信件標題,加上 [專案簡稱] 或信件內容 [自訂標籤] ,方便日後整理信件。

Query operators[edit]

New letters in inbox

  • in:inbox is:unread

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)
  • Last Week --> after:oneweekago


Focus some labels / Cluster with some labels

  • My Focus --> (label:label_a OR label: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
focus on the new letters with the labels: label_a or label_b

filter emails with multiple labels

  • Search label:label_a label:label_b to filter the emails matched multiple labels

search for all emails with no label 只看沒編過標籤的信

  • 列出所有標籤,然後再排除它們(參考資料):搜尋語法是 -label:標籤名稱1 -label:標籤名稱2 -label:標籤名稱3
  • 如果標籤已經很多,就顯得很麻煩

不支援部分字串搜尋 Icon exclaim.gif

  • 「搜尋結果不包括部分字串相符的項目,或與查詢條件「類似」的項目。 ... ... 如果您搜尋 vacation,Gmail 會傳回含有這個字詞的電子郵件,但不會傳回包含 vacations 或 vaccations 的電子郵件。」 資料來源: 內收郵件未送達 - Gmail說明(test day: 2012-08-11)


Spam

  • Spam unread -->
    • in:spam before:2007/5/1 (means the spam older than 2007/5/1)
    • in:spam is:unread
    • in:spam is:unread after:yesterday (means fresh spam :P)
  • inbox spam
    • specified language: using the stop word to filter
  • Tentative --> in:anywhere subject:keywords
It will perform the keywords' search in all email box include the spam and trash

filename search[edit]

  • Attachments --> has:attachment
    • without attachment: -has:attachment

find messages with specific star[edit]

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


label with the slash mark(/)[edit]

The label with the slash mark(/) will rename to Hyphen mark (-).

  • Ex: The label share/meeting will rename to share-meeting (not forcibly) but the search label:share/meeting will found no result until you search label:share-meeting.


specify the language[edit]

  • 'lang:en' will search only English letters
  • 'lang:zh' or 'language:chinese' will search only Chinese letters (include Simplified and Traditional Chinese)
    • 'lang:zh-cn' will search only Simplified Chinese letters
    • 'lang:zh-tw' will search only Traditional Chinese letters

reference: Search For a Specific Language in Gmail[1]

Goodies[edit]

easter egg[edit]


further reading[edit]

references