Not Able To Send EXE or RAR File Using Gmail or Yahoo Mail

by Rohit Khurana on November 27, 2009



Have you ever tried to send an EXE file or RAR file using GMAIL or Yahoo mail ? If yes, then you must have seen error screen like one below :


<filename>.exe is an executable file. For security reasons, Gmail does not allow you to send this type of file.

Even if you zip the exe file or remove the file extension, or change the file extension to .jpg or some other format, Gmail will still identify the file contained in the zipped file or file with changed extension. This is because it reads the file headers etc to identify the file type.

This is a great feature of GMAIL which prevents the spread of viruses through emails. But in case you urgently need to send some genuine files for some reason, there is a trick to to that.


In this article I will share a trick to send an EXE or RAR file using Gmail or other email services.


Before I tell you the trick, I suggest you to be sure that you are not sending any copyrighted or illegal file to anyone.


To send an executable file though email, the most convenient way is to embed that file in a word document. To that follow the below steps :


1. Open Microsoft Word and create a new word document.

2. Go to Insert > Object From the tool-bar


3. This will open a Insert Object window,on this windows, select the tab “Insert From File



4. Click the browse button, locate the EXE or RAR or the CMD file which you want to send via email. Also Click the Display as icon check box on this window and press OK.


5. The embedded file will appear as an icon in the Word document as seen below. Click on

File > Save As option and save the file as a doc file.


6. Now you can simply attach this word file and send it via Gmail, see the snapshots below:


embedded file recieved successfully

Hope you find this trick useful. The only catch is that you need to MS word to open these embedded files.

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 6 comments… read them below or add one }

Nando November 27, 2009 at 9:05 am

get a life!

Just zip it using 7-zip ( 7z format.

You will be able to foul any attachment filter, send more compressed files, and will use the best zip tool around.

The recipient will need 7-zip too, but it’s free and open-source.

ciao — Nando

actinium November 28, 2009 at 3:44 am

neat trick :-)
n ya, Happy Anniversary! btw, did i mention dat u vr d choicest tech-blog in indiblogs contest?! 😉
all d best!

Rohit November 28, 2009 at 8:23 am

thanks buddy :)

rohoG November 29, 2009 at 1:19 pm

Um…. this is a lot of work. And a waste of time. Just rename the file extension to something other that .exe or .rar, like .txt and they are treated as a text file. Then the recipient just needs to rename the file back to its original extension.

sid June 2, 2011 at 6:34 pm

thanks man ….!! :) :)

Prodyot May 26, 2012 at 2:29 pm

Great workaround.
Never thought this workaround existed.
Thanks buddy.

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2016 . All Rights Reserved.