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

Trouble:

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 :

sshot-1

<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.

Fix:

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

insert-object-in-word-file

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

create-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.

display-as-icon

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.

save-word-document

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

send-embedded-file

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.

Comments

  1. get a life!

    Just zip it using 7-zip (http://www.7-zip.org/) 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

  2. neat trick πŸ™‚
    n ya, Happy Anniversary! btw, did i mention dat u vr d choicest tech-blog in indiblogs contest?! πŸ˜‰
    all d best!

  3. 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.

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.