[New-bugs-announce] [issue33336] [imaplib] MOVE is a legal command

Matej Cepl report at bugs.python.org
Sun Apr 22 18:29:42 EDT 2018

New submission from Matej Cepl <mcepl at cepl.eu>:

When running

    box = IMAP4_SSL(host)
    box.login(user, pass)
    msgs = somehowget_uids_of_messsages_to_move()
    box.uid('MOVE', msgs, 'target')

I get an error "Unknown IMAP4 UID command: MOVE". The problem is that imaplib contains a list Commands of the permitted IMAP commands, and MOVE is not included, even though it is perfectly legal (and quite widely supported) command according to RFC-6851.

components: Library (Lib)
messages: 315632
nosy: mcepl
priority: normal
severity: normal
status: open
title: [imaplib] MOVE is a legal command
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list