<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Mind Leaks &#187; reference</title>
	<atom:link href="http://www.mymindleaks.com/blog/archives/tag/reference/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mymindleaks.com/blog</link>
	<description>Software, Programming, Architecture &#38; More</description>
	<lastBuildDate>Sun, 11 Jul 2010 05:06:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Hack GMail Search &#8211; Part 2</title>
		<link>http://www.mymindleaks.com/blog/archives/hacking-gmail-search-part-2.html</link>
		<comments>http://www.mymindleaks.com/blog/archives/hacking-gmail-search-part-2.html#comments</comments>
		<pubDate>Fri, 29 Feb 2008 14:48:27 +0000</pubDate>
		<dc:creator>Maheshwaran Subramaniya</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[GMail]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[search tips]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://mymindleaks.com/hacking-gmail-search-part-2/</guid>
		<description><![CDATA[Courtesy:zackv You would have explored the features of GMail Search in my previous post Hack GMail &#8211; Part 1 In my previous post of hacking the search, you  would have explored the features on Labels, filters etc. On continuing the exploration, I came with my second post. This post lists down the features which are [...]]]></description>
			<content:encoded><![CDATA[<p align="center" style="font-size: xx-small"><img border="0" width="420" src="http://mymindleaks.com/wp-content/uploads/2008/02/image6.png" alt="image6 Hack GMail Search   Part 2" height="236" title="Hack GMail Search   Part 2" /></p>
<p align="center" style="font-size: xx-small"><em>Courtesy:</em><a href="http://www.flickr.com/photos/zackv/1057723987/"><em>zackv</em></a></p>
<p>You would have explored the features of GMail Search in my previous post <a href="http://mymindleaks.com/demystifying-gmail-search-part-1/">Hack GMail &#8211; Part 1</a></p>
<p>In my <a href="http://mymindleaks.com/demystifying-gmail-search-part-1/">previous post of hacking the search</a>, you  would have explored the features on Labels, filters etc. On continuing the exploration, I came with my second post. This post lists down the features which are not available in the simple search facility. Come one, lets explore the the advanced search features.</p>
<p><span id="more-340"></span></p>
<p>For typing the query, you need not open the simple search view, just directly type the query in the default query box.</p>
<p>In order to be a master in searching, you have to know the operators used for searching. To know brief about the operators have a visit to</p>
<p><a href="https://gmail.google.com/support/bin/answer.py?answer=7190">https://gmail.google.com/support/bin/answer.py?answer=7190</a></p>
<p>Also have a look on how to create filters and labels. This is a must use tool in Gmail, who fail to use these features, so pity on them. Please don’t miss it out.</p>
<p><a href="https://gmail.google.com/support/bin/answer.py?answer=6579">https://gmail.google.com/support/bin/answer.py?answer=6579</a></p>
<p>In the rest of this blog, you could find the functions of the operators in elaborate.</p>
<p><strong>from</strong>: used to specify the sender and fetches all the mails from the same</p>
<p>It is the same as the from in the simple search.</p>
<p><strong>Example 1</strong>: Extract all the mails from friends, say <strong><em>abc,abc1,abc2</em></strong>. Then your query goes like this.</p>
<p><strong></strong></p>
<blockquote><p><strong><em>from: abc@hotmail.com OR abc1@yahoo.com OR abc2@gmail.com</em></strong></p></blockquote>
<p><strong>Example 2</strong>: Extract all the mails from friends, say <strong><em>abc,abc1 </em></strong><em>and not from<strong> abc2</strong></em>. Then your query goes like this.</p>
<p><strong><em><br />
</em></strong><strong></strong></p>
<blockquote><p><strong><em>from: abc@hotmail.com OR abc1@yahoo.com -abc2@gmail.com</em></strong></p></blockquote>
<p><strong><em>Example 3: Extract all the mails from except from <strong><em>abc</em></strong></em></strong></p>
<p><strong></strong></p>
<blockquote><p><strong><em>from: -abc</em></strong></p></blockquote>
<p><strong>Example 3</strong>: Extract all the mails from except from <strong><em>yahoo or gmail</em></strong></p>
<p><strong></strong></p>
<blockquote><p><strong><em>from: -yahoo.com </em></strong><em>–<strong>gmail.com</strong></em></p></blockquote>
<p><strong>to</p>
<p>: used to specify the recipient and fetches all the mails from the same. It is the same to the </strong><strong>TO </strong>in the simple search.</p>
<p><strong>Example 4</strong>: Extract all the mails sent to friends, say <strong><em>abc,abc1,abc2</em></strong>. Then your query goes like this.</p>
<blockquote><p><strong><em>to: abc@hotmail.com OR abc1@yahoo.com OR abc2@gmail.com</em></strong></p></blockquote>
<p><strong></strong></p>
<p><strong>Example 5</strong>: Extract all the mails sent to groups i.e mails your received from groups.</p>
<p><strong><em><br />
</em></strong><strong></strong></p>
<blockquote><p><strong><em>to: yahoogroups.com</em></strong></p></blockquote>
<p><strong><em>Example 6: Similarly exclude the mails from yahoogrou</em><em>ps</em></strong></p>
<p><strong></strong></p>
<blockquote><p><strong><em>to: -yahoogroups.com</em></strong></p></blockquote>
<p><strong>subject: </strong>Search<strong> </strong>for the subject words</p>
<p><strong>Example 7</strong>: Search for a single word</p>
<p><strong></strong></p>
<blockquote><p><strong><em>subject: Chennai</em></strong></p></blockquote>
<p><strong>Example 8</strong>: Search for more than one word. In this example to include all mails with subject Chennai and Mumbai and reject mails with subject kolkatta</p>
<p><strong></strong></p>
<blockquote><p><strong><em>Subject: ( Chennai OR Mumbai ) subject: –kolkatta</em></strong></p></blockquote>
<p><strong>cc and bcc: </strong>This operator function similar to the <strong><em>to:</em></strong> and <strong><em>from:</em></strong> operator. It is used to give the email address or just the account name or just the service provider address to fetch the mails.</p>
<p><strong>Example 9</strong>: Fetch all the mails which you had CCed or BCCed</p>
<blockquote><p><strong><em>cc:abc@yahoo.com<br />
bcc:abc1@yahoo.com</em></strong></p></blockquote>
<p><strong></strong></p>
<p><strong>label: </strong>Search the mails which holds a label.</p>
<p><strong>Example 10</strong>: Let me assume that you have labels and have applied to some mails. Let me say you have label called “<em>Family</em>” for the mails which you receive from your family members. Now you are to search for the mails where only your mom had sent. Here I am considering that both dad and mom uses the same mail id.</p>
<blockquote><p><strong><em>label:family from:familyhead@gmail.com mom OR dad</em></strong></p></blockquote>
<p><strong></strong></p>
<p><strong>Example 11</strong>: Another example to show is from my inbox. I have grouped all the fun related mails from various groups such as Nidokidos, myWorldPals etc. under the label named “<strong><em>Others</em></strong>”. Now all the mails arriving from that group would be fixed with the label “<strong><em>Others</em></strong>”. Now I need to search the mails from this label, which has photos regarding “<em>Katrina</em>”.</p>
<p><strong></strong></p>
<blockquote><p><strong><em>label:Others (subject:nidokidos OR myworldpals)</em></strong></p></blockquote>
<p>Another example which rejects all mails with subject beautifulIndia.</p>
<p><strong></strong></p>
<blockquote><p><strong><em>label:Others subject:-BeautifulIndia</em></strong></p></blockquote>
<p><strong>Note: </strong>If you have label names separated with spaces, then use hyphen(-) while using in searches. The Hyphen, i.e the negation operator is different from this hyphen used in the label names.</p>
<p>E.g.: If you have a label called “<em>Fun Mails</em>”, then while searching use as <strong><em>label:Fun-Mails.</em></strong> Here note that there is no space in between Fun &amp; Mails. If you introduce a space, then the query will search for the mails with label Fun and rejects all mails with words Mails.</p>
<p>i.e. <strong><em>label:Fun –Mails</em></strong></p>
<p>It is possible to apply one or more label name to a single mail. Example, if you have received a mail from your friend relating to a job matter, then you would apply labels both Friend and Jobs. In such cases, most of the mails may posses more than one label. Now in such cases to search mails pertaining to particular label and rejecting the mails the label you are not in need. The simple figments is to use Negate Operator i.e Hypen.</p>
<p><strong>Example 12</strong>: You need to extract all mails from your friend which don’t have job information i.e don’t have label named JOBS.</p>
<p><strong></strong></p>
<blockquote><p><strong><em>label:friend –label:JOBS</em></strong></p></blockquote>
<p><strong>Example 13:</strong> Search all the mails from your friend with attachment, which has only Word document or PDF files as the attachments.<br />
<strong></strong></p>
<blockquote><p><strong><em>label:Friend has:attachment filename:(pdf OR doc)</em></strong></p></blockquote>
<p><strong>in: </strong>used to search mail in the specific location i.e Inbox, Archives, Trash, Sent Items etc. If you are in need to search locations except Inbox, you could use this operator.</p>
<p>This operator had really helped me to search in my case, as I had about 30,000+ mails in my trash.</p>
<p><strong>Example 14</strong>: Searching your trash box for a which you have deleted it unknowingly. All mails from your friend that had moved to trash.</p>
<blockquote><p><strong><em>in:trash label:friend</em></strong></p></blockquote>
<p><strong></strong></p>
<p>Now you can combine all the above said operators to search the mail.</p>
<p><strong>Example 15</strong>: Search your trash and archives which you are not confident about it’s location which has an attachment of pdf file from your company.</p>
<blockquote><p><strong><em>in:anywhere has:attachment filename:pdf</em></strong></p></blockquote>
<p><strong></strong></p>
<p><strong>is: </strong>Is operator is helps you to fetch mails that have read, unread , starred etc.</p>
<p><strong>Example 16:</strong> To fetch all mails that you haven’t read that your friend had sent.</p>
<p><strong></strong></p>
<blockquote><p><strong><em>label:friend is:unread</em></strong></p></blockquote>
<p>Try with <strong><em>is:read is:unread</em></strong>, yeah you can guess what would be the result.</p>
<p><strong></strong></p>
<blockquote><p><strong><em>is:read</em></strong> – gives all the mails that have read</p>
<p><strong><em>is:unread</em></strong> – gives all the mails that haven’t read</p>
<p><strong><em>is:starred</em></strong> – gives all the mails that have been starred in spite you read or not.</p></blockquote>
<p><strong>after:, before: </strong>These operators are date operators which are used to input the query based on date values. The date format which I have aforesaid in the first part as YYYY/MM/DD is used.</p>
<p><strong>Example 17: </strong>To search all the mails which have arrived after June 4<sup>th</sup> 2005. <strong>to till date</strong>.<strong></strong></p>
<p><strong></strong></p>
<blockquote><p><strong><em>after:2005/06/05</em></strong></p></blockquote>
<p><strong>Example 18:</strong> To search all the mails arrived on particular date, use both the operators</p>
<p><strong><em><br />
</em></strong><strong></strong></p>
<blockquote><p><strong><em>after:2005/09/10 before:2005/09/11</em></strong></p></blockquote>
<p><strong><em>If you use <strong><em>after:2005/09/10 before:2005/09/10</em></strong>, will gives you all the mails.</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mymindleaks.com/blog/archives/hacking-gmail-search-part-2.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
