Travis Crump wrote: > Well, I am on linux so there are only two types of files: text and > binary. It isn't a binary file, so...
There is also the concept of mimetypes. ext2 even supports that in the filesystem (but not much used), and there is an application to find out the type of a file (called |file|, IIRC). > When you send an e-mail with a .eml attachment, the headers for the > e-mail are still at the top of the e-mail. The top of the attachment > has lines that look like headers and can be interpreted as headers by > an e-mail program that knows to look for them, but they aren't headers > while the e-mail is in transit, they are just lines of text. No, look at the source of the mail. You see a mimetype "message/rfc822" for the attachment, which means that it's an email. While in transit, *everything* is *transferred* via text, even binaries. That doesn't meant that the content *is* all text. ScanMail obviously checks the format of the *content* of the mail. Ben
