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


Groups > comp.lang.python > #75804

Re: why i can not delete my email with imaplib?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.016
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:not': 0.03; 'email addr:python.org?': 0.09; 'refresh': 0.09; 'mailman': 0.10; 'cc:addr:python-list': 0.11; 'assume': 0.14; 'deletes': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'all.': 0.16; 'sender:addr:gmail.com': 0.17; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'header :In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'disable': 0.31; 'open': 0.33; 'subject:with': 0.35; "can't": 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'email addr:python.org': 0.37; 'easily': 0.37; 'filter': 0.38; 'gmail': 0.38; 'list,': 0.38; 'subject:can': 0.39; 'deleting': 0.60; 'more': 0.64; 'email name:python-list': 0.65; 'to:addr:gmail.com': 0.65; ',the': 0.84; 'email addr:gmail.com"': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=mMVcYZrH0IBNslnrWynLF4wA0LfYSTwnXD/h5zCqoHI=; b=kTS3BssKnHVE1c6tv4n6mmcbRh91Pk012y520tppPcW5hUODWIMhPbx3RZIz6h3JH/ 9KTHI6Dc4Jpq5eF2I56lUC9CPe7pG1WZSJgVA/jJU19sxpcBadIroeLInOSE26aQx5jm r8tt9udXJV/ZUExjyMQ7hMTgkXeNwsH/GLbQ2h3ch0kIPfl0qOWvqzfbzxqB+m6oHiTz omTPgyvCpoSdUazjhB1io+cN7a43I4WlUqnYGAzSTGl95qXZXQcTzkSrOMPS1KjsxXXk cAEn/0ETOAu3zyDzpYIoQFuXU0mV+yKW+B7pTSVij3MJRWaPuQV02Ng9CAnHt16W7mfW DHaw==
MIME-Version 1.0
X-Received by 10.42.82.6 with SMTP id b6mr15521796icl.51.1407339245164; Wed, 06 Aug 2014 08:34:05 -0700 (PDT)
Sender skip.montanaro@gmail.com
In-Reply-To <53E235AA.2010105@gmail.com>
References <53E235AA.2010105@gmail.com>
Date Wed, 6 Aug 2014 10:34:05 -0500
X-Google-Sender-Auth asYhD8Mn33xtNkaOsbHrqpE8Kzg
Subject Re: why i can not delete my email with imaplib?
From Skip Montanaro <skip@pobox.com>
To elearn <elearn2014@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12704.1407339248.18130.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407339248 news.xs4all.nl 2863 [2001:888:2000:d::a6]:47862
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75804

Show key headers only | View raw


My apologies. I must be dense. Why do you want to do this from Python?
Can't you accomplish the same thing more easily with a Gmail filter
which deletes all messages sent to python-list@python.org? Also, I
assume that if you use "xxx@gmail.com" only so you can send mail to
the list, why not just disable message delivery altogether through the
Mailman interface. That would avoid the necessity of deleting the mail
at all.

> When i open my gmail with thunderbird ,the emails which are sent to
> python-list@python.org are still in my gmail...

Do you perhaps need to force Thunderbird to refresh its view of your
mailbox?

Skip

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: why i can not delete my email with imaplib? Skip Montanaro <skip@pobox.com> - 2014-08-06 10:34 -0500

csiph-web