> Thanks! I fixed the problem by removing the -raw attribute.
>
> However, the end game is to take an email message (usually multipart, from
> Outlook), remove the headers, and send it on to a new batch of addresses.
> Is this possible, without decoding the original message, getting the
> attachments, then forming a new message by reconstituting the old? I was
> hoping to just whip off the old headers and use the saved message file as
> the basis for the new message, but it's looking complicated.
Theoretically, it is possible. However, there are some caveats. You will
need to keep some of the headers so that Blat can "append" them to its own
outgoing headers. Basically, you want to remove any header that has
identifiable information such as "Received:", "To:", "From:", "Cc:", and
"X-OriginatingIP:". You can run your saved messages through AWK to strip
out unwanted headers, and then use the output as raw input to Blat. With
the -raw option, Blat will build its own headers immediately above the ones
from your raw output, meaning there will be -no- blank lines after Blat's
headers to separate them from ones you provide in your raw output.
--
Chip