[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How To Add 'Mime-Version' header to incoming email

From: Reiner Steib
Subject: Re: How To Add 'Mime-Version' header to incoming email
Date: Wed, 27 May 2009 08:36:46 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux)

On Tue, May 26 2009, bigfaceworm wrote:

> Our bug-tracking system sends email, and about a third of the time the
> email doesn't have the header
>     MIME-Version: 1.0
> but the contents are in HTML.
> Of course gnus doesn't render it, but shows me the crummy HTML.  

Does setting `gnus-article-loose-mime' to t help?

,----[ <f1> v gnus-article-loose-mime RET ]
| gnus-article-loose-mime is a variable defined in `gnus-sum.el'.
| Its value is t
| Documentation:
| If non-nil, don't require MIME-Version header.
| Some brain-damaged MUA/MTA, e.g. Lotus Domino 5.0.6 clients, does not
| supply the MIME-Version header or deliberately strip it from the mail.
| If non-nil (the default), Gnus will treat some articles as MIME
| even if the MIME-Version header is missing.
| You can customize this variable.

> A simple 'e C-cC-c' fixes it (edit, end editing) b/c it adds the
> MIME header - but I'd like to do that automatically.  Any pointers
> to hooks/ functions to customize?

,----[ <f1> v nnmail-prepare-incoming-header-hook RET ]
| nnmail-prepare-incoming-header-hook is a variable defined in `nnmail.el'.
| Its value is nil
| Documentation:
| Hook called narrowed to the headers of each message.
| This can be used to remove excessive spaces (and stuff like
| that) from the headers before splitting and saving the messages.
| You can customize this variable.

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]