Mailscanner doesn't add charset when adding signature

Kevin Spicer kevins at BMRB.CO.UK
Thu Aug 26 18:04:17 IST 2004

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.

BMRB International
+44 (0)20 8566 5000
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material.  If you have received this in error, please contact the
sender and delete this message immediately.  Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited.  BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ ( and
the archives (

More information about the MailScanner mailing list