Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75990
| Date | 2014-08-10 06:44 -0700 |
|---|---|
| From | luofeiyu <elearn2014@gmail.com> |
| Subject | why i can't copy mail with imaplib? |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12821.1407690877.18130.python-list@python.org> (permalink) |
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?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
why i can't copy mail with imaplib? luofeiyu <elearn2014@gmail.com> - 2014-08-10 06:44 -0700
Re: why i can't copy mail with imaplib? John Gordon <gordon@panix.com> - 2014-08-10 23:07 +0000
Re: why i can't copy mail with imaplib? luofeiyu <elearn2014@gmail.com> - 2014-08-10 16:27 -0700
Re: why i can't copy mail with imaplib? Ben Finney <ben+python@benfinney.id.au> - 2014-08-11 09:32 +1000
csiph-web