Re: [PATCH] Add a MIME-Version header to e-mails
- From
Karl Hasselström <kha@treskal.com>
- Date
- Nov 8, 2006, 08:40 UTC
- Message-ID
- <20061108084038.GA3164@diana.vm.bytemark.co.uk>
- In-Reply-To
- <b0943d9e0611071109w584f4f7fv3ba1b7dbd9413717@mail.gmail.com>
On 2006-11-07 19:09:06 +0000, Catalin Marinas wrote:
> I re-implemented parts of the mail and import commands (inspiring > from your patches). They now use the email Python package. The mail > command encodes the body to 7 or 8bit depending on non-ascii > characters.
Even though it turned out to be possible to use 8bit always?
> The headers are QP-encoded.
Strictly speaking, it's rfc2047-encoded. I think the options are QP and base64.
> The import command can decode messages properly and can also handle > multipart e-mails.
Goodie.
> I still have to write a test script but my simple tests showed that > it works. Please let me know if there is anything wrong (especially > with the QP-encoding of the mail headers).
I won't have time to check this out today (in fact, it may have to wait until the weekend). But when I do check it out, I might have time to write that test, so please holler if you start working on that.
-- Karl Hasselström, kha@treskal.com