Each time you send and receive attachments, Gmail automatically scans them for viruses.
If a virus is found in an attachment you've received, our system will attempt to remove it, or clean the file, so you can still access the information it contains. If the virus can't be removed from the file, you won't be able to download it.
If a virus is found in an attachment you're trying to send, you won't be able to send the message until you remove the attachment.
Gmail anti-virus faq's can be found here:
--walt
Most of the other email providers (including Yahoo) have had this feature for a long time.