How to Send Executable (.exe, .ocx, .dll, .com, .bat) Files in Gmail Without Changing the File Extension?
Why Gmail doesn't like exe files?If you use gmail as your email service probably you should be getting frustrated with it when you want to send files with the extensions exe, ocx, dll, com or bat. These executable stands for some files which can be executed independently within a typical operating system and there is a huge probability to contain computer viruses or malware in these types of files. Since these kind of files can be executed independently any virus that the file carried will infect our computers very easily.
Although this is not a problem in other free email services like yahoo, as Google has grabbed a big part from the services which we use for our day to day cyber needs, we can't move in to another service just because of this problem.
What happen when we are trying to upload an executable file in Gmail?When we attach an executable file first it upload the whole file and check on several criteria such as file extension (whether it contains .exe, .dll etc) and whether it contains a virus or any suspicious threat. This is how Gmail complains about a file with the extensions exe, ocx, dll, com or bat.
If we are going to attach a big executable file you will face the following frustrated situations.
- You have to wait until it finish the uploading the whole file in order to know whether it can or cannot be sent.
- If it complains that the file cannot be sent then you can't send it as it is.
One way is you can send these executable files by changing their extension (i.e. .exe .bat ...) to another safe file type such as .jpg .gif etc. But the problem is even in this way sometimes gmail complains about possible threats because of heuristics detection from the inner structure of the file. Other disadvantage is the sender should mention the correct extension in order to fix the file in to original extension. According to my experience it is a tedious task to explain how to change a file extension in every cases like, as default configuration an operating system hide file extension and need to change the configuration first in order to change file extension.
Another way is compressing the file using a ZIP software like 7zip winzip or WinRAR. But for some cases gmail is smart enough to reveal the internal file structure and detect whether there is any file with a prohibited type.
What I prefer to do in this case is some what similar to the above last method, but with a little bit difference. Here is the steps of the way to send an executable file with the extension exe bat ocx dll or what ever prohibited by gmail including a file with any virus.
- Download and install one of the following: WinRar / 7zip / Winzip
- Right click on the file or the folder that is to be sent via gmail and click "Add to archive" (a menu item which was added by one of the above software)
- Set a password for the archive (the Zip tool you downloaded will give you the facility to encrypt the files using a password)
- Send the password protected archived file with the password written in the message body of the email.
Gmail will never be able to check what's inside a password protected archive and end up with it allows us to send what ever hidden in a password protected archive with the extention .zip, .rar etc and with giving the responsibility of the file content to ourselves.
I hope now onward Gmail will not bother us about any attached executable files. I invite you to share if you have a better solution regarding this.