Re: Mailbox in UTF-8

Geert Stappers <[email protected]> Sun, 8 Nov 2020 13:49:15 +0100
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
On 07-11-2020 06:47, Jan Štembera wrote:
> Dear,  
>   
> Here is dump of my getmail:  
> ...  
> retriever:  SimpleIMAPSSLRetriever(ca_certs="None", certfile="None",
> getmaildir="/home/jan/.getmail/", keyfile="None",
> mailboxes="(u'Doru\u010den\xe9',)", move_on_delete="None", password="*",
> password_command="()", port="993", record_mailbox="True",
> server="imap.azet.sk", ssl_cert_hostname="None", ssl_ciphers="None",
> ssl_fingerprints="()", ssl_version="None", timeout="180",
> use_cram_md5="False", use_kerberos="False", use_peek="True",
> use_xoauth2="False", username="[email protected]")  
> ...  
>   
>   
> is possilble to add function to list all mailboxes on the server? From
> that will be possible to write to the configuration the names of
> mailboxes.  
>   
> Or the encoding table UTF-8 to your encoding of name of mailbox?  

Python3 does UTF-8 by default.


> Thanks.  


Thank you for the reminder on Python3.





Regards
Geert Stappers
-- 
Silence is hard to parse