Ryan said:
Hi Vanguard,
Thanks for the reply back. In this case, I actually am saving the
file to
my hard disk rather than looking at it in a Outlook window (where I
know the
file sizes might be larger because of encoding). I got those file
sizes in
my original note when saving the file on my desktop and looking at the
file
size by right-clicking on the file and choosing properties and looking
at the
"Size" line as opposed to the "Size on disk" line. The size is
increasing in
the attachment I sent. Also, additionally this file size increase
only
happens with Office 2003 attachments (word/excel/powerpoint). It
doesn't
happen on other file types.
Thanks,
Ryan
The behavior seems peculiar to Office files (and maybe only to .doc
files as I didn't test with Excel or Powerpoint files). When sending
the file, Outlook does re-add the document summary info at the end of
the file BEFORE it is sent (so you'll see it is already bigger in your
Sent Items folder). Even if you use the Office add-in to remove hidden
metadata from your .doc file, this doesn't change Outlook's behavior
(which is also present back in Outlook 2002).
In Explorer, right-click on a file, select Properties, and you'll see a
Summary properties panel where you can add info to a file. I suspect
this is the info that is getting added to the file when it gets read.
I've used the "Remove Hidden Data" Office plug-in so that in-document
metadata was mostly gone but that did not significantly change the size
of the .doc file and still did not stop the file from growing by about
3K when using Outlook to yank a copy of the file to attach to an e-mail.
When you are in Explorer and add text into the fields in the Summary
property panel of a file, the size of the file does not increase. This
is metadata assigned to the file. But when you attach the file to send
it as an attachment, the recipient won't have your operating system on
your hard disk to get that metadata, so Outlook adds it to the end of
the file so it will be there when you save the file. However, it got
carried along as content within the file itself (as there is no other
way to transport it). While you don't see it as *in* the file (when you
are editing it within Word), it is still nonetheless a component or
property of the file so Outlook is including it. Your local file system
is retaining the metadata and associating it with that file, but
obviously there will be no such control when you e-mail that file so
that data gets included with the file when it gets e-mailed.
You can easily test this. Right-click on your .doc file (without Word
open), right-click, Properties, Summary, and add some special text in
those fields that you can easily identify later were specifically added
for this test. They were probably all blank before, anyway. Notice the
size of the file has not changed although you might have added lots of
text in these info fields. Now send that file via e-mail. Notice the
saved file is bigger than before. If you use the hex editor to look at
the end of the file, you'll see the "DocumentationSummaryInformation"
section which contains all those special text strings that you added
(plus you'll see those text strings when right-clicking on the file,
Properties, and under Summary). The metadata (which is not in the file)
got carried along when you attached it to an e-mail.