Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98998 > unrolled thread

Re: How to create a folder using IMAPLib?

Started byChris Angelico <rosuav@gmail.com>
First post2015-11-19 07:35 +1100
Last post2015-11-19 07:35 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to create a folder using IMAPLib? Chris Angelico <rosuav@gmail.com> - 2015-11-19 07:35 +1100

#98998 — Re: How to create a folder using IMAPLib?

FromChris Angelico <rosuav@gmail.com>
Date2015-11-19 07:35 +1100
SubjectRe: How to create a folder using IMAPLib?
Message-ID<mailman.426.1447878940.16136.python-list@python.org>
On Thu, Nov 19, 2015 at 7:01 AM, Anthony Papillion
<anthony@cajuntechie.org> wrote:
> I'm writing a program to help migrate mail from one host to another
> with a few special circumstances. I'm able to get a list off of the
> source IMAP server using the .list() command but I'm not quite sure
> how to create a folder on the target machine.
>
> Does anyone know how to create a folder using IMAPlib?

They're called "mailboxes", which I'll admit is not the most obvious
name, but imaplib is following the IMAP spec here. You can create them
with .create() and delete them with .delete().

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web