From: Catalin Marinas Date: Tue, 07 Nov 2006 19:09:06 GMT Subject: Re: [PATCH] Add a MIME-Version header to e-mails Message-ID: In-Reply-To: On 07/11/06, Catalin Marinas wrote: > I'll include these patches (maybe modified) and I'll try to fix > "import" as well. 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. The headers are QP-encoded. The import command can decode messages properly and can also handle multipart e-mails. 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). Thanks. --