Help on method copy in module imaplib:

copy(message_set, new_mailbox) method of imaplib.IMAP4_SSL instance
    Copy 'message_set' messages onto end of 'new_mailbox'.

    (typ, [data]) = <instance>.copy(message_set, new_mailbox)


self is an instance in my code."[Gmail]/&kc2JgQ-]" is the important mailbox.


self.con.select("inbox")
self.con.copy(b"1","[Gmail]/&kc2JgQ-]")

why i can not copy the first email into my  important mailbox?
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to