Sending files as attachments using GMail

If you send files around using your GMail account, you may have noticed an increase in the number of false positives in their attachment scanner.  Files of type .php and .js are frequently incorrectly identified as malicious, and the attachment is blocked.

Fortunately, there is still a straightforward way to get around this – rename the file so the filetype is different – rename .zip files to .zip.file, for example.

Here’s a decent discussion of this topic:

Trick Gmail Antivirus Scanner: Send Any File Type with Gmail. (.exe, .dll, .com, .bat)