Are you tired with spam and advertisement email? Do you want to block few of those emails reaching from your inbox? There is an easy solution to filter emails and block. This step describing to delete an email automatically from a specific sender to your Gmail ID.
Step 2. Type the desired email address under From: You can block an entire domain by entering just that. To block all mail from email@example.com and firstname.lastname@example.org, type “@example.com”.To block more than one address, separate them with “|” (the vertical bar; typically above the backslash on the keyboard; not including the quotation marks).You can block both email@example.com and firstname.lastname@example.org by typing “email@example.comfirstname.lastname@example.org”, for example.
Step 3. Click Next Step ».
Make sure Delete it is checked under Choose action.
Step 4. Click Create Filter.
Check Also apply filter to __ conversations below to delete previously received messages.
To archive and label instead of delete messages, choose Skip the Inbox (Archive it) and Apply the label: under Choose action when setting up the filter.
Add a New Address to Your Gmail Block List
To add new senders to your block list, add them to an existing deletion filter using “|” (as above), or create a new filter if the From: field has grown big and unwieldy.
If you want block an email on yahoo, please check this article block en email on your Yahoo!