Some more Gmail Hacks

I have been using Gmail since the day it was launched and have always found it easy and interesting to work with. Also, few days back, i had written a post which described about sorting unread messages in Gmail so that they always appear at the top. Today, in this post, i shall present you with some more Gmail Hacks which can help you get most out of Gmail ( my favorite email engine).


Date Search using Gmail

In Gmail, making use of correct keywords is important. Lets assume you wish to search for mails delivered to you within a date range ( for eg. mails received between 12th Feb 2007 to 10th March 2007). The search query required to be typed in the search box should in this case should be

after:07/02/12 before:07/03/10.

Finding mails with Attachments

Lets now assume that you wish to search for mails with attachments from a particular user ( lets say Hari), then, type in the following in searchbox

from:Hari has:attachment

You can even club a few more keywords. For example, if you wish to search for all the mails in Inbox from Hari which have an attachment and were received between 12th Feb 2007 to 10th March 2007, the following search query should help

in:inbox from:Hari has:attachment after:07/02/12 before:07/03/10.

For your help on these keywords, Google also has a detailed table listing all the keywords. This can be obtained by clicking here

Also read:

How-To: In GMAIL, show unread mails at the top in your inbox?

How-To: Exclude Chat from Gmail Search Results

Tutorial: Find the IP Address of sender in Gmail.

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.









Gmail will now be available in 37 languages

As per the Official Gmail Blog, Gmail will soon be available in 37 languages. This rollout is expected to start tonight. This means, if you have been using English, you can now actually change your default language using the Settings menu and take advantage of the features going to be launched for your preferred language.


The blogpost also mentions the following features which shall be added to Gmail

  • Colored labels
  • Group chat
  • Rich emoticons
  • A new contact manager with a three-pane layout
  • A number of smaller features, such as new shortcut keys and the ability to bookmark individual emails with your browser




This Valentines day, play safe

Valentines day is here and so is the prospect of PC onslaught by Storm worm trojan. As per the warnings issued by various security agencies , Storm worm trojan is continuing on its holiday-themed onslaught. The trojan was first seen in fake Christmas and New Year’s mail messages – with a huge wave of ” love” notes that seek to deliver a poison kiss to the recipient’s PC in the form of malicious code.

I love you

Network World writes The Storm Worm virus has capitalized on various holidays in the last year by sending millions of e-mails advertising an e-card link within the text of the spam e-mail. Valentine’s Day has been identified as the next target.Such email directs the recipient to click on a link to retrieve the electronic greeting card (e-card). Once the user clicks on the link, malware is downloaded to the Internet connected device and causes it to become infected and part of the Storm Worm botnet. A botnet is a network of compromised machines under the control of a single user.

Trojan messages

TrustedSource has released a new tool called StormTracker, this tool can be found on the website of research portal. The tool automatically updates on real time basis the most active web proxy IPs and domains associated with Storm.

All in all, have a great Valentines day but as they say ” play safe ” .

Also read:

SVCHOST.exe and the mystery behind it.

Computer Viruses: How do they work?

How does Email Scanning Work?

Top 3 FREE Antivirus Applications

Anti Spyware Applications: Here goes the ranking. 🙂

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

How-To: In GMAIL, show unread mails at the top in your inbox?

Anup Singh from Mizoram has dropped me a mail query asking for a way by which he can show his unread GMAIL mails at the top of his inbox without going through the advanced search feature. Although, Gmail does offer an advanced search option wherein the user can enter his/her criteria of seeing only the Unread mails, the trick that i often use is to search the mail using labels.


At the search box, type in any of the queries mentioned to show unread mails from the inbox

label:unread in:inbox or

label:unread label:inbox

Also read:

How-To: Exclude Chat from Gmail Search Results

More Gmail Space coming for all

Secure Gmail: Automatically Switching from HTTP to HTTPs in Gmail

Do stay tuned to Technofriends for more, one of the best ways of doing so if by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.



How-To: Link and not attach in Microsoft Outlook.

To help minimize the size of your mailbox and others’, here’s a handy tip – instead of attaching an entire powerpoint presentation or pdf file, save a copy on a shared directory and link to it instead! A fool-proof method of doing this is:

  1. Copy the link from the shared directory
  2. In a new email, type <
  3. Paste the link
  4. Type >
  5. Press Enter or Spacebar, and it will automatically convert into a hyperlink (even if you have spaces in the file name)

Also read:

How-To: Stripping attachments from Microsoft Outlook.

How-To: Display two time zones in Microsoft Outlook

AI in Microsoft Outlook?

Microsoft Outlook: Creating an Appointment From a Mail

How to: Email Notes using Microsoft Outlook.





How-To: Stripping attachments from Microsoft Outlook.

If you just don’t have enough time in the day to sort through all your mails and file each attachment (I’m sure everyone can relate), Colin Kurrant suggests a macro that strips attachments from your emails, saves them to a folder in your My Documents directory, and inserts a hyperlink pointing to the saved attachment:

Note: Before using this macro, please store all important attachments, run it on a message containing an attachment of low importance and check the macro is working properly. Use this macro at your own discretion and risk, and ensure that you do not overwrite files with the same name.

  1. In your My Documents folder, create a folder named “OLAttachments
  2. In Outlook, go to Tools > Macro > Macros
  3. In the Macro name box, type a name for your macro, e.g. SaveAttachments (no spaces) and click Create.
  4. Paste the following code into the code window of the module:

    Public Sub SaveAttachments()
    Dim objOL As Outlook.Application
    Dim objMsg As Outlook.MailItem ‘Object
    Dim objAttachments As Outlook.Attachments
    Dim objSelection As Outlook.Selection
    Dim i As Long
    Dim lngCount As Long
    Dim strFile As String
    Dim strFolderpath As String
    Dim strDeletedFiles As String
    ‘ Get the path to your My Documents folder
    strFolderpath = CreateObject(“WScript.Shell”).SpecialFolders(16)
    On Error Resume Next‘ Instantiate an Outlook Application object.
    Set objOL = CreateObject(“Outlook.Application”)
    ‘ Get the collection of selected objects.
    Set objSelection = objOL.ActiveExplorer.Selection

    ‘ Set the Attachment folder.
    strFolderpath = strFolderpath & “\OLAttachments\”

    ‘MsgBox strFolderpath

    ‘ Check each selected item for attachments.
    ‘ If attachments exist, save them to the Temp
    ‘ folder and strip them from the item.
    For Each objMsg In objSelection
    ‘ This code only strips attachments from mail items.
    ‘ If objMsg.class=olMail Then
    ‘ Get the Attachments collection of the item.
    Set objAttachments = objMsg.Attachments
    lngCount = objAttachments.Count

    ‘MsgBox objAttachments.Count

    If lngCount > 0 Then
    ‘ We need to use a count down loop for
    ‘ removing items from a collection. Otherwise,
    ‘ the loop counter gets confused and only every
    ‘ other item is removed.
    For i = lngCount To 1 Step -1
    ‘ Save attachment before deleting from item.
    ‘ Get the file name.
    strFile = objAttachments.Item(i).FileName
    ‘ Combine with the path to the Temp folder.
    strFile = strFolderpath & strFile
    ‘ Save the attachment as a file.
    objAttachments.Item(i).SaveAsFile strFile
    ‘ Delete the attachment.
    ‘write the save as path to a string to add to the message
    ‘check for html and use html tags in link
    If objMsg.BodyFormat <> olFormatHTML Then
    strDeletedFiles = strDeletedFiles & vbCrLf & “<file://” & strFile & “>”
    strDeletedFiles = strDeletedFiles & “<br>” & “<a href=’file://” & _
    strFile & “‘>” & strFile & “</a>”
    End If

    ‘MsgBox strDeletedFiles

    Next i
    ‘ End If
    ‘ Adds the filename string to the message body and save it
    ‘ Check for HTML body

    If objMsg.BodyFormat <> olFormatHTML Then
    objMsg.Body = objMsg.Body & vbCrLf & _
    “The file(s) were saved to ” & strDeletedFiles
    objMsg.HTMLBody = objMsg.HTMLBody & “<p>” & _
    “The file(s) were saved to ” & strDeletedFiles
    End If


    End If

    Set objAttachments = Nothing
    Set objMsg = Nothing
    Set objSelection = Nothing
    Set objOL = Nothing
    End Sub

  5. From the File menu, click Close and return to Outlook
  6. To add a button for this macro, go to View > Toolbars and select the toolbar you want to display
  7. On the toolbar, click the Toolbar Options arrow, point to Toolbars and click the toolbar you want to display
  8. On the toolbar, click the Toolbar Options arrow, point to Add or Remove buttons and click Customize.
  9. In the Commands tab, in the categories list, click Macros
  10. In the Commands list,. click the name of the SaveAttachments macro you added and drag it to the displayed toolbar
  11. In the Customize dialog box, click Close
  12. To use this macro, from the Messages view, select a message and
    – Press Alt + F8, select the macro name and click Run OR
    – Click the button you created for this macro

Thanks to Colin Kurrant for this tip

How-To: Exclude Chat from Gmail Search Results

Rahul Gupta from Delhi asks this simple question in his email about chat results in Gmail search.

Gmail Logo

Whenever i do a search on my Gmail Inbox, i get all the chat results also in the search result page. Is it possible to exclude the chat results in the search?

Yes. It is possible to exclude Chat from Gmail Search Results. In order to do so, all you need to do is type in -label:Chat in the search string typed in the Gmail search box.

-label:Chat in the query string filters and removes all the chat conversations from search results.

+label:Chat in the query string ensures that search results only from Chat conversations are shown in the search results page.

Related Read(s):

Gmail gets IMAP Support

More Gmail Space coming for all

Tutorial: Find the IP Address of sender in Gmail.

GMAIL TOOLBOX: 60+ Tools For Gmail

Redownload GMAIL Messages