As a matter of security from malicious code or so, G-mail beta does not allow users to send Executable files in Gmail. This helps to keep Gmail virus free. But this can be irritating at-times, like when you are trying to send something which is definitely virus free. Like if you did like to send a program that you made for evaluation to your friend or so. Here are 2 ways to send such files. Thanks to my friend Sam.
Method 1 :
Add the executable file to a zip archive. Its not over yet. Add this zip archive to another zip archive. So that your executable file will be inside two zip archives simultaneously. Then attach it and then you can send it comfortably.
eg:. If your file name is asd.exe , first add it to a zip archive named abc.zip or so. Then add this abc.zip to another zip named xyz.zip or so. Then attach it.
Method 2 :
Rename your executable file to something which is not an executable. That is change the extension .exe to somthing like .jkl or so. then attach it and inform the reciver at the other end to rename it to .exe before he can use it. That's it.
You can rename the file using command prompt.
For eg: if you wish to rename asd.exe to asd.jkl take command prompt and then go to the directory where your file is. then type ' rename asd.exe asd.jkl' without the quotes.
Good Luck!