GMail: Illegal Attachment Causes Bounced Messages when Sending EXE files

Posted July 16, 2005 by AlexTheBeast in Google

Certain files are not allowed to be sent through Gmail. Here is how to get through this restriction.

Google has blocked the sending of certain types of files through Gmail that have high abuse potential. You will notice this mainly when you try to send executable files such as *.exe files or archive files (*.zip) that contain executable files.

If you try to send these, your email will bounce, and you will receive an error like this:

: host[] said: 552
5.7.0 Illegal Attachment 38si976657nzk

If you need to send the file anyway, you simple need to rename your file to something that is not blocked. I typically rename everything to *.bak. Be sure to tell the receiver of your email to rename it once they receive it.

Renaming files can be tricky because Windows hides the file extensions by default. Here is how to rename them:

    1. Open Explorer, and browse to the file you want to rename.
    2. Click the Tools menu.
    3. Click Folder Options.
    4. Click View tab.
    5. Uncheck Hide extensions for known file types.
    6. Click OK.
    7. Now, you should be able to see the extensions of your files.
    8. Right-click on the file.
    9. Click Rename.
    10. Rename the file, and change the ending. For example, change putty.exe to putty.bak.
    11. Now, you can send the file through Gmail like any other attachment.
    12. The receiver of the email will need to rename it back so that he or she can use the file correctly.

Point them to this recipe if your email reciever needs assistance.

The Conversation

Follow the reactions below and share your own thoughts.