Re: Unreadable Messages Downloaded

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Mitchell Pryor <[email protected]> wrote:
> I just started using 'getmail' for a new project I'm working on and was
> enjoying the new experience until this happened: Problem: Emails sent from
> our IBM I computer using a 3rd party email utility called MMAIL are
> unreadable after 'getmail' downloads them.  The Subject, Sender and body
> appear to be untranslated to ascii.
[...]
> Sender: =?UTF-8?B?Q29tcHV0ZXIgUm9vbU==?= <[email protected]>
> From: =?UTF-8?B?Q29tcHV0ZXIgUm9vbU==?= <[email protected]>
> To: =?UTF-8?B?VFlMRVIgSEFMTE==?= <[email protected]>,
>     =?UTF-8?B?Uk9OIEtBWU==?= <[email protected]>, =?UTF-8?B?TFlOTiBQQVJIQU1=?=
>     <[email protected]>, =?UTF-8?B?VE9OWUEgUlVUSE==?= <[email protected]>,
>     =?UTF-8?B?U0FORFJBIFNUQU5DSUx=?= <[email protected]>,
>     =?UTF-8?B?SkVSUlkgUE9ZVEhSRVNT?= <[email protected]>,
>     =?UTF-8?B?TUlLRSBQUllPUk==?= <[email protected]>, =?UTF-8?B?T1BT?=
>     <[email protected]>
> Subject: =?UTF-8?B?QVAwNjAzIC0gTUFUQ0hFRCBJTlZPSUNFIENPVU5UIFNVTU1BUll=?=

That is rfc2047 encoding, the current standard for representing non-ascii
characters in rfc822/2822/etc mail headers (as opposed to body encodings,
which can take other forms).  Note this has been the standard for more than 20
years.

Your mail client should display these correctly as the unicode characters they
are.  If not, your mail reader is at fault.  getmail appears to be working
correctly here.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.