Mailscanner doesn't add charset when adding signature

Julian Field mailscanner at ecs.soton.ac.uk
Thu Aug 26 19:04:09 IST 2004


<x-flowed>
At 18:04 26/08/2004, you wrote:
>On Thu, 2004-08-26 at 17:37, Julian Field wrote:
> > I think so, yes. I only add the MIME-Version header if it isn't already
> > there. So I could add the Content-Type header if there is no MIME-Version
> > header. But unfortunately, what do I put for the MIME type? My email client
> > displays a message as html even if there is just a "Content-Type:
> > text/plain" header, or no Content-Type header at all. Not sure I can get
> > all the information I need to do "the right thing". I can't add the charset
> > unless I also set the MIME type, and I can't guess the MIME type if it
> > isn't already there.
> >
> > Thoughts?
>
>Well, you could use file -i on the message body, but I suspect that
>isn't going to be as portable as one might hope.

Not portable, and very slow :-(
I need a portable, fast way of doing it. I don't want to look at the
message body content at all.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list