Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: William Xu <william.xwl@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: How To Add 'Mime-Version' header to incoming email
Date: Wed, 27 May 2009 12:37:18 +0800	[thread overview]
Message-ID: <21glmy8zp3ep.fsf@gmail.com> (raw)
In-Reply-To: <4abae6c2-c71a-4bef-9066-357b8ac69fc5@x1g2000prh.googlegroups.com>

bigfaceworm <bigfaceworm@gmail.com> writes:

> All,
>
> 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.  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?

You are looking for: gnus-article-prepare-hook.  

-- 
William

http://xwl.appspot.com

  reply	other threads:[~2009-05-27  4:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 17:23 bigfaceworm
2009-05-27  4:37 ` William Xu [this message]
2009-05-27  6:36 ` Reiner Steib
2009-05-27 20:26   ` bigfaceworm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21glmy8zp3ep.fsf@gmail.com \
    --to=william.xwl@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).