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


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

Re: How to delete letters automatically with imaplib?

Started byBen Finney <ben+python@benfinney.id.au>
First post2014-08-06 21:29 +1000
Last post2014-08-06 21:29 +1000
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 delete letters automatically with imaplib? Ben Finney <ben+python@benfinney.id.au> - 2014-08-06 21:29 +1000

#75793 — Re: How to delete letters automatically with imaplib?

FromBen Finney <ben+python@benfinney.id.au>
Date2014-08-06 21:29 +1000
SubjectRe: How to delete letters automatically with imaplib?
Message-ID<mailman.12697.1407324613.18130.python-list@python.org>
elearn <elearn2014@gmail.com> writes:

> and how to write the delete command with imaplib?

(Please don't top-post. Instead, compose your responses interleaved
<URL:https://en.wikipedia.org/wiki/Posting_style#Interleaved_style> so
the conversation is easier to follow in the message.)

I'm not familiar with the API of the ‘imaplib’ module. Start with
<URL:https://docs.python.org/3/library/imaplib.html> and remember that
it is a library designed to work intimately with the IMAP
command-response protocol.

If, instead, you wish to manipulate mailboxes without needing to know
much about the detailed features of the storage format, use the
<URL:https://docs.python.org/3/library/mailbox.html> ‘mailbox’ module
for that purpose.

-- 
 \        “No matter how cynical you become, it's never enough to keep |
  `\                                up.” —Jane Wagner, via Lily Tomlin |
_o__)                                                                  |
Ben Finney

[toc] | [standalone]


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


csiph-web