Monday, August 15, 2011

Ignore SPAM mails with Filter [Gmail]

I’ve been reading tweets about people complaining that even though they’ve hit the ‘Mark as SPAM’ button for a particular email sender, they end up getting mails from the sender in their inbox. This isn’t a bug and hitting ‘Mark as SPAM’ doesn’t guarantee that emails from the person lands into the SPAM folder although Gmail learns about it. The SPAM system works based on crowdsourcing and if the particular sender is blacklisted by many users, he/she will end up in the SPAM folder sometime in the future, but until then if you are looking to prevent that email landing into your inbox, the only plausible solution is using the email filters (a very under-used feature) in Gmail.

Let’s say you are being spammed by and you are looking stop mails from this user landing in your inbox. Here’s what you have to do.

Mail Settings

  • Log into Gmail and click on the gear at the top-right of the page. Then, choose ‘Mail Settings’ in the drop-down menu.

Filters Tab

  • Now, click on the ‘Filters’ tab in the settings page.
  • Click on ‘Create a new filter’ at the bottom.


  • Enter the spammers email address in the from field as show in the image above and click on ‘Next Step’.
  • Now, choose ‘Delete it’ from the list and hit ‘Create Filter’.

That’s it. You’ve now created a filter that will delete any email from this spammy address without even bringing it to your notice. If you aren’t sure about the procedure I just explained, take a look at the video (below) I just made.