On Thu, Aug 8, 2019 at 1:33 PM Peter Otten <__pete...@web.de> wrote:
>
> Larry Martell wrote:
>
> >> Pyke has been ported to py3. Here is the code that returns the data I
> >> am trying to process:
> >>
> >> return map(self.doctor_answer, it)
>
Larry Martell wrote:
>> Pyke has been ported to py3. Here is the code that returns the data I
>> am trying to process:
>>
>> return map(self.doctor_answer, it)
>>
>> I don't see anything calling imap.
>
> I grepped through the entire pyke code
ils with: AttributeError: module 'itertools' has no
> >>> attribute 'imap'
> >>
> >> In Python 3 the map() builtin is "lazy", so you can use that instead.
> >>
> >>> I tried converting presentationGen to a list but get the same
On 08/08/2019 17:16, Larry Martell wrote:
On Thu, Aug 8, 2019 at 11:30 AM Peter Otten <__pete...@web.de> wrote:
Larry Martell wrote:
[snip]
But in py3 that fails with: AttributeError: module 'itertools' has no
attribute 'imap'
In Python 3 the map() builtin is &
vasculopathy_engine =
> > > knowledge_engine.engine((rule_base_source_folder,
> > > (compiled_rule_base_folder)))
> > > with vasculopathy_engine.prove_goal(...) as presentationGen:
> > > for vals, plan in presentationGen:
> > >
> > > But
> > with vasculopathy_engine.prove_goal(...) as presentationGen:
> > for vals, plan in presentationGen:
> >
> > But in py3 that fails with: AttributeError: module 'itertools' has no
> > attribute 'imap'
>
> In Python 3 the map() builtin is &q
27; has no
attribute 'imap'
I tried converting presentationGen to a list but get the same error.
How can I make this work in py3?
The built-in 'map' in Python 3 does what 'imap' did in Python 2.
--
https://mail.python.org/mailman/listinfo/python-list
th: AttributeError: module 'itertools' has no
> attribute 'imap'
In Python 3 the map() builtin is "lazy", so you can use that instead.
> I tried converting presentationGen to a list but get the same error.
>
> How can I make this work in py3?
The problem
=
knowledge_engine.engine((rule_base_source_folder,
(compiled_rule_base_folder)))
with vasculopathy_engine.prove_goal(...) as presentationGen:
for vals, plan in presentationGen:
But in py3 that fails with: AttributeError: module 'itertools' has no
attribute 'imap'
I tried conver
brint...@controlledthinking.com wrote:
>
> On Tuesday, November 20, 2012 2:41:58 PM UTC-8, Prasad, Ramit wrote:
> > brintoul at controlledthinking.com wrote:
> >
> > Apologies, I misread your question.
> >
> > According to the imaplib docs, you can subclass IMAP4 and override
> > `IMAP4.open` to c
On Tuesday, November 20, 2012 2:41:58 PM UTC-8, Prasad, Ramit wrote:
> brintoul at controlledthinking.com wrote:
>
> Apologies, I misread your question.
>
>
>
> According to the imaplib docs, you can subclass IMAP4 and override
>
> `IMAP4.open` to create the socket and bind it to the desired
brint...@controlledthinking.com wrote:
> > > I have a multihomed machine that I would like to run the Python imaplib's
> > > IMAP4 client on. I would like to be
> > > able to specify which interface the underlying socket will bind to as its
> > > source address. How could I best do
> > > this?
On Wed, Nov 21, 2012 at 9:00 AM, wrote:
> On Tuesday, November 20, 2012 1:48:46 PM UTC-8, Chris Angelico wrote:
>> On Wed, Nov 21, 2012 at 8:14 AM, wrote:
>>
>> > I have a multihomed machine that I would like to run the Python imaplib's
>> > IMAP4 client on. I would like to be able to specify
lp...
>
>
>
> You are quite welcome. :)
>
>
>
> On a less flippant note, maybe some links would help you
>
> get started.
>
>
>
> http://www.doughellmann.com/PyMOTW/imaplib/
>
> http://yuji.wordpress.com/2011/06/22/python-imaplib-imap-exampl
On Tuesday, November 20, 2012 1:48:46 PM UTC-8, Chris Angelico wrote:
> On Wed, Nov 21, 2012 at 8:14 AM, wrote:
>
> > Hello:
>
> >
>
> > I have a multihomed machine that I would like to run the Python imaplib's
> > IMAP4 client on. I would like to be able to specify which interface the
> >
uld I best do
> this?
One assumes by programming.
>
> Thanks for any help...
You are quite welcome. :)
On a less flippant note, maybe some links would help you
get started.
http://www.doughellmann.com/PyMOTW/imaplib/
http://yuji.wordpress.com/2011/06/22/python-imaplib-imap-example-wi
On Wed, Nov 21, 2012 at 8:14 AM, wrote:
> Hello:
>
> I have a multihomed machine that I would like to run the Python imaplib's
> IMAP4 client on. I would like to be able to specify which interface the
> underlying socket will bind to as its source address. How could I best do
> this?
You're
Hello:
I have a multihomed machine that I would like to run the Python imaplib's IMAP4
client on. I would like to be able to specify which interface the underlying
socket will bind to as its source address. How could I best do this?
Thanks for any help...
--
http://mail.python.org/mailman/li
nge server via SMTP and IMAP from my
> iPhone using SSL and without using a VPN. So I would expect to be able
> to do the same from my computer using Python.
>
> However, the following hangs and times out on my computer when I'm not
> connected to the VPN:
>
> >
; Hi,
>
> I'm able to connect to an Exchange server via SMTP and IMAP from my
> iPhone using SSL and without using a VPN. So I would expect to be able
> to do the same from my computer using Python.
>
> However, the following hangs and times out on my computer when I'm n
y won't
> instantiate the SMTP/SMTP_SSL/IMAP4/IMAP4_SSL objects at all and will
> hang forever if the VPN is turned off.
Are you trying to connect to an Exchange server? Several Exchange mobile
clients aren't using IMAP and SMTP but EAS over HTTPS. I have the same
setup at work. The SM
at all and will hang forever if the VPN
is turned off.
I'm really at loss there :)
Julien
On Apr 2, 2012, at 6:57 PM, Michael Hrivnak wrote:
> Your phone may be using TLS on the normal IMAP port (143). Or, are
> you sure your phone is using IMAP and not active sync?
>
> Michae
ep in connecting to the SSL socket is to do a TLS dance, then
initiate the IMAP protocol by sending the greeting.
If you connect with a non-SSL initiator to an SSL endpoint, you will get
a timeout. If you connect with an SSL initiator to a non-SSL endpoint,
you will timeout. It is not the con
On Apr 5, 5:25 am, Steven D'Aprano wrote:
> On Thu, 05 Apr 2012 12:16:09 +, Steven D'Aprano wrote:
> > On Thu, 05 Apr 2012 00:21:31 -0700, Steve Howell wrote:
> >> Why are you changing the invocation between versions of Python?
>
> > Because imaplib.IMAP4_SSL apparently no longer exists in Pyt
* Steven D'Aprano in comp.lang.python:
> IMAP4_SSL is documented as existing in Python 3. And when I run Python
> 3.2 on a Centos machine, instead of Debian, it includes IMAP4_SSL which
> works fine.
> So there's something screwy going on here. Why does my Python 3.2 on
> Debian not include IMA
On Thu, 05 Apr 2012 12:16:09 +, Steven D'Aprano wrote:
> On Thu, 05 Apr 2012 00:21:31 -0700, Steve Howell wrote:
>> Why are you changing the invocation between versions of Python?
>
> Because imaplib.IMAP4_SSL apparently no longer exists in Python 3.
>
server = imaplib.IMAP4_SSL('x
On Thu, 05 Apr 2012 00:21:31 -0700, Steve Howell wrote:
> I'm not suggesting that you debug the standard library because I think
> the library itself is broken. I'm suggesting that using the source code
> that's freely available to you can help you have some insight on what's
> going wrong.
>
> D
On Apr 5, 12:09 am, Steven D'Aprano wrote:
> On Wed, 04 Apr 2012 22:13:55 -0700, Steve Howell wrote:
> > On Apr 4, 9:49 pm, Steven D'Aprano > +comp.lang.pyt...@pearwood.info> wrote:
> >> I can connect to an IMAP server using Python 2.6:
>
> >> st
On Apr 5, 12:09 am, Steven D'Aprano wrote:
> On Wed, 04 Apr 2012 22:13:55 -0700, Steve Howell wrote:
> > On Apr 4, 9:49 pm, Steven D'Aprano > +comp.lang.pyt...@pearwood.info> wrote:
> >> I can connect to an IMAP server using Python 2.6:
>
> >> st
On Wed, 04 Apr 2012 22:13:55 -0700, Steve Howell wrote:
> On Apr 4, 9:49 pm, Steven D'Aprano +comp.lang.pyt...@pearwood.info> wrote:
>> I can connect to an IMAP server using Python 2.6:
>>
>> steve@runes:~$ python2.6
>> Python 2.6.6 (r266:84292, Dec 27 20
On Apr 4, 9:49 pm, Steven D'Aprano wrote:
> I can connect to an IMAP server using Python 2.6:
>
> steve@runes:~$ python2.6
> Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
> [GCC 4.4.5] on linux2
> Type "help", "copyright", "credits" or
Steven D'Aprano wrote in news:4f7d2475$0$3$c3e8...@news.astraweb.com in
gmane.comp.python.general:
> I can connect to an IMAP server using Python 2.6:
>
> steve@runes:~$ python2.6
> Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
>>>> server = imaplib.IMAP
I can connect to an IMAP server using Python 2.6:
steve@runes:~$ python2.6
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import imaplib
>>
Your phone may be using TLS on the normal IMAP port (143). Or, are
you sure your phone is using IMAP and not active sync?
Michael
On Mon, Apr 2, 2012 at 6:25 PM, Julien wrote:
> Hi Michael,
>
> Thanks for your reply. I did try port 993. I know that port generally
> works for
Hi Michael,
Thanks for your reply. I did try port 993. I know that port generally
works for me, as I can access the Gmail IMAP/SMTP server using SSL. It
also works for that other Exchange server but only when the VPN is
turned on.
Somehow my iPhone works fine without a VPN, as long as it uses
That method uses the default port 993. Can you connect to that port
at all from your computer? For example, try using a telnet client.
Michael
On Sat, Mar 31, 2012 at 1:39 AM, Julien wrote:
> Hi,
>
> I'm able to connect to an Exchange server via SMTP and IMAP from my
> iPh
Hi,
I'm able to connect to an Exchange server via SMTP and IMAP from my
iPhone using SSL and without using a VPN. So I would expect to be able
to do the same from my computer using Python.
However, the following hangs and times out on my computer when I'm not
connected to the VPN:
The sort story, I have been attempting to use the Google Migration assistant
to migrate emails from one google account to another, about 80,000 emails.
I have two problems.
1. Many emails that fail to transfer because of errors like "Invalid RFC 822
Message: Date header "Mon Feb 05 22:07:16 2007" i
hgc
On Thu, Feb 3, 2011 at 6:52 PM, Kushal Kumaran <
kushal.kumaran+pyt...@gmail.com > wrote:
> On Fri, Feb 4, 2011 at 3:44 AM, Vincent Davis
> wrote:
> > I have a few emails I am trying to download from my google account. I
> seem
> > to be getting the message but each of these messages have a
On Fri, Feb 4, 2011 at 3:44 AM, Vincent Davis wrote:
> I have a few emails I am trying to download from my google account. I seem
> to be getting the message but each of these messages have an attachment. I
> don't understand what I ned to do to get and save the attachment to a local
> file.
> Her
I have a few emails I am trying to download from my google account. I seem
to be getting the message but each of these messages have an attachment. I
don't understand what I ned to do to get and save the attachment to a local
file.
Here is what I have so far.
M = imaplib.IMAP4_SSL(IMAP_SERVER, IMAP
On 30 Lis, 22:26, Adam Tauno Williams wrote:
> On Tue, 2010-11-30 at 13:03 -0800, pakalk wrote:
> > Please, give me an example of raw query to IMAP server?
>
> <http://www.devshed.com/c/a/Python/Python-Email-Libraries-part-2-IMAP/2/>
>
> I'm not certain what yo
On Tue, 2010-11-30 at 13:03 -0800, pakalk wrote:
> Please, give me an example of raw query to IMAP server?
<http://www.devshed.com/c/a/Python/Python-Email-Libraries-part-2-IMAP/2/>
I'm not certain what you mean by "raw query".
> And why do you focus on "N
Please, give me an example of raw query to IMAP server?
And why do you focus on "Nevermind is so ekhm... nevermind... "??
Cannot you just help?
--
http://mail.python.org/mailman/listinfo/python-list
On 2010-10-01, pakalk wrote:
> Can anyone help me find GOOD IMAP library for python?
Yes.
> Imaplib is.. ekhm... nevermind... Is there any good library?
Yes, there is another one that's easier to use and a bit more
high-level, and more... akhm... nevermind.
--
Grant
pakalk writes:
> Hello,
>
> Can anyone help me find GOOD IMAP library for python? Imaplib is..
> ekhm... nevermind... Is there any good library?
Instead of pissing on something it helps to actually state what's
missing from it. Or give a list of what you're looking for
pakalk wrote:
>
>Can anyone help me find GOOD IMAP library for python? Imaplib is..
>ekhm... nevermind... Is there any good library?
What do you expect it to do? Imaplib is designed to help you access IMAP
stores, and it does that well enough. But it's not a mail reader.
--
Hello,
Can anyone help me find GOOD IMAP library for python? Imaplib is..
ekhm... nevermind... Is there any good library?
--
http://mail.python.org/mailman/listinfo/python-list
Brilliant! Thanks guys I will have to have a play around later
On 4 July 2010 04:12, Grant Edwards wrote:
>
> > I'm trying to write a simple script which displays the basic details
> > of a person's mailbox. My problem is that it causes all the messages
> > to be marked as read on the server,
>
> I'm trying to write a simple script which displays the basic details
> of a person's mailbox. My problem is that it causes all the messages
> to be marked as read on the server,
>
> code, mailboxen= server.list()
> print mailboxen
> # if it's called INBOX, then
> server.select("INBOX")
Yo
Paul Jefferson wrote:
Hi,
I'm trying to write a simple script which displays the basic details
of a person's mailbox. My problem is that it causes all the messages
to be marked as read on the server, which is not what I'm after, and
I also can't get the imap.sort command to work properly (curr
Hi,
I'm trying to write a simple script which displays the basic details
of a person's mailbox. My problem is that it causes all the messages
to be marked as read on the server, which is not what I'm after, and I also
can't get the imap.sort command to work properly (currently
commented out as I re
Hi,
I'm trying to write a simple script which displays the basic details
of a person's mailbox. My problem is that it causes all the messages
to be marked as read on the server, which is not what I'm after, and I
also can't get the imap.sort command to work properly (currently
commented out as I re
etail. Free Yahoo! mail accounts can be accsessed via
> > IMAP protocal, however, a non-standard shake hand code is needed
> > before log in [1]:
>
> > ID ("GUID" "1")
>
> > . This is what I'm now working for. I tried:
>
> > IMAP4.xa
be much more convenient. Actually, I have been using a
modified version of Thunderbird [1] to access Yahoo! Mail IMAP server
for months. The reason of using Python to access the mail server is to
have less dependency on other software. Now I don't need Thunderbird
anymore.
Best regards,
Xianwen
he detail. Free Yahoo! mail accounts can be accsessed via
>> IMAP protocal, however, a non-standard shake hand code is needed
>> before log in [1]:
>>
>> ID ("GUID" "1")
>>
>> . This is what I'm now working for. I tried:
>>
>&
On 06/24/2010 04:47 AM, Xianwen Chen wrote:
Thanks a lot for your reply! I thought it would be simpler if the
problem was presented in a brief way. Unfortunately, not for this
case.
Here is the detail. Free Yahoo! mail accounts can be accsessed via
IMAP protocal, however, a non-standard shake
On 06/24/2010 03:47 AM, Xianwen Chen wrote:
> , but I got error messages. Any hint please?
Why not just use a proxy server:
http://sourceforge.net/projects/imapidproxy/
--
http://mail.python.org/mailman/listinfo/python-list
On 06/24/2010 03:47 AM, Xianwen Chen wrote:
> . This is what I'm now working for. I tried:
>
> IMAP4.xatom('','ID ("GUID" "1")','',)
>
> and
>
> dest_srv.xatom('ID ("GUID" "1")')
>
> , but I got error messages. Any hint please?
What error messages?
--
http://mail.python.org/mailman/listinfo/p
On 6/24/10, Tim Chase wrote:
> On 06/23/2010 05:22 PM, Xianwen Chen wrote:
>> I need to send one line of commands to an IMAP server. The commands
>> are not standard IMAP protocols, hence it's not specified in
>> http://docs.python.org/library/imaplib.html.
>
>
On 06/23/2010 05:22 PM, Xianwen Chen wrote:
I need to send one line of commands to an IMAP server. The commands
are not standard IMAP protocols, hence it's not specified in
http://docs.python.org/library/imaplib.html.
Sounds like you want to use the imaplib's IMAP4.xatom() to send
Dear Pythoners,
I need to send one line of commands to an IMAP server. The commands
are not standard IMAP protocols, hence it's not specified in
http://docs.python.org/library/imaplib.html. Can you please give me a
hint?
Best regards,
Xianwen
--
http://mail.python.org/mailman/listinfo/p
Ken,
Check out Zed Shaw's very cool Lamson project.
http://lamsonproject.org/
Malcolm
- Original message -
From: "Ken Seehart"
To: python-list@python.org
Date: Thu, 04 Mar 2010 21:33:26 -0800
Subject: IMAP mail filters tool
I'm thinking of possibly making a simple
mk writes:
> Hello everyone,
>
> I re-wrote more "slowly" an example at the end of
> http://wordaligned.org/articles/essential-python-reading-list
>
>
> This example finds anagrams in the text file.
>
> ====
> from itertools import groupby, imap
> from
Hello everyone,
I re-wrote more "slowly" an example at the end of
http://wordaligned.org/articles/essential-python-reading-list
This example finds anagrams in the text file.
from itertools import groupby, imap
from operator import itemgetter
from string import ascii
I'm thinking of possibly making a simple client-agnostic tool for
filtering and processing IMAP email. I'm a Thunderbird user, but I'm
interested in a tool that is not client software specific.
So I am is checking for prior art. Does anyone know of a filter tool
with most of
Anything else is madness. And the fact the Outlook doesn't do proper
referral fields just infuriates me. Sigh.
I'm overjoyed about the opaque winmail.dat attachments I get. Which seem
to appear randomly from the same sender sending the same stuff (like a
meeting invitation) to me - depend
ing Twisted's IMAP4 client. It's somewhat easier to
> use than Python's imaplib because it does much more parsing of IMAP4's
> complex syntax for you. It will also be easier to do IMAP4 and HTTP
> simultaneously if you're using Twisted.
Anything that helps wit
On Fri, Dec 19, 2008 at 11:54 AM, Michael Torrie wrote:
> Martin wrote:
>> Currently I am trying to get used to Python's imaplib and email
>> modules.
>> I'like to create a webmail client simmilar to GMail.
>
> This is off-topic, but why on earth would you want to emulate Gmail's
> conversation vi
Martin wrote:
> Currently I am trying to get used to Python's imaplib and email
> modules.
> I'like to create a webmail client simmilar to GMail.
This is off-topic, but why on earth would you want to emulate Gmail's
conversation views? It's horrible and a very broken way of viewing
e-mail threads
On Fri, 19 Dec 2008 08:47:18 -0800 (PST), Martin wrote:
Currently I am trying to get used to Python's imaplib and email
modules.
I'like to create a webmail client simmilar to GMail.
I'd suggest using Twisted's IMAP4 client. It's somewhat easier to
use than Python's imaplib because it does muc
e world. I guess each mail client
and each language uses different ones, right?
c) Does anyone know good resources to gain more knowledge about imap /
mailing?
Currently I am using those sites as a reference:
http://www.devshed.com/c/a/Python/Python-Email-Libraries-part-2-IMAP/
(as a start *g)
Hi, I am new to python and I need to use it to implement for my
dissertation. The idea behind is used to send the message to mail
server and look for it's respond time (Microseconds measurement). How
to write the response time and throughput in Imap? Thanks ahead of
time.
--
http://mail.pytho
Quick update on the below:
the issue has disappeared by itself. I did not get to working on this
much since sending my last message. Now that I am looking at this the
issue has disappeared.
On Jan 29, 8:23 pm, Bart Kastermans <[EMAIL PROTECTED]> wrote:
> I am trying to use imaplib with gmail.
I am trying to use imaplib with gmail. I am finding however that with
the gmail server imaplib.search does not give the correct answer. See
the below traces (k is a server a my department, i is gmail).
k has 6 messages in the INBOX
i has 3 messages in the INBOX
However i.search(None, "ALL")
only
On Nov 8, 2:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Nov 8, 1:52 pm, Jason <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Nov 8, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > I'
On Nov 8, 1:52 pm, Jason <[EMAIL PROTECTED]> wrote:
> On Nov 8, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I'm trying to get a list of messages from GMAIL using it's new IMAP
> > access.
>
> > So far
On Nov 8, 1:52 pm, Jason <[EMAIL PROTECTED]> wrote:
> On Nov 8, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I'm trying to get a list of messages from GMAIL using it's new IMAP
> > access.
>
> > So far
On Nov 8, 11:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I'm trying to get a list of messages from GMAIL using it's new IMAP
> access.
>
> So far I've tried running this command but it just hangs. Any ideas?
>
> >>> import
I'm trying to get a list of messages from GMAIL using it's new IMAP
access.
So far I've tried running this command but it just hangs. Any ideas?
>>> import imaplib
>>> M=imaplib.IMAP4('imap.gmail.com',993)
I figured that's the first line to r
Damjan a écrit :
> Is there some project that implements web access to an IMAP store?
>
> Maybe something AJAXy like http://roundcube.net/??
I dont know if this fill your need, but in my Python bookmarks, for
webmail I have a reference to NiMail (http://www.nimail.org/).
A+
Laurent.
Is there some project that implements web access to an IMAP store?
Maybe something AJAXy like http://roundcube.net/??
--
damjan
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 28 Jun 2007 18:44:02 -0300, Bruno Barberi Gnecco <[EMAIL PROTECTED]>
wrote:
> It seems that this question has been asked a few times in this
>group before, but sometime has passed since the last post and maybe there's
>something new. I'm looking for a high l
It seems that this question has been asked a few times in this
group before, but sometime has passed since the last post and maybe there's
something new. I'm looking for a high level IMAP library--I know of imaplib,
but it's awfully documented and I was hoping to avoid rea
Roopesh wrote:
> I am using the imaplib to fetch mails. There is an error thrown in the
> search function, which I am not able to comprehend.
I had difficulties with the imaplib, too. It is very low level. You need
to know some parts of the IMAP protocol.
I solved my problems by checkin
> imaplib.abort: command: SEARCH => unexpected response: '*'
>
> Can anyone tell me why this happens ?
It looks like a server problem. What kind of server are you using ?
Exchange, Cyrus ?
Did you try with two different Imap servers ?
If it is a unix server, did you have a
I am using the imaplib to fetch mails. There is an error thrown in the
search function, which I am not able to comprehend.
My program is as follows :
import imaplib
M = imaplib.IMAP4("10.1.1.1",1143)
M.login("roopesh", "roopesh12")
type, data = M.select("INBOX", 1)
print typ
27;s an example
>>> M.response('RECENT')
('RECENT', ['0'])
If all else faile, you may want to examine the imap library code to see
how it parses the SELECT response data.
--
http://mail.python.org/mailman/listinfo/python-list
jrpfinch schreef:
> I have three messages in my inbox. Why does messageCount =
> gServer.select('INBOX') not just return OK and 3. See below for
> examples - seems to be completely random how many threes it returns.
> The documentation for imaplib seems sparse. Does anybody have any good
> links
All I have to go on is the RFC2060 standard which says:
7.3.1. EXISTS Response
Contents: none
The EXISTS response reports the number of messages in the
mailbox.
This response occurs as a result of a SELECT or EXAMINE command,
and if the size of the mailbox changes (e.g. n
I have three messages in my inbox. Why does messageCount =
gServer.select('INBOX') not just return OK and 3. See below for
examples - seems to be completely random how many threes it returns.
The documentation for imaplib seems sparse. Does anybody have any good
links? Many thanks, Jon
message
Dear List,
I'm trying to figure out, how to change the header of an e-mail that is
accessed by an IMAP object.
There is some code below (not a complete program). The key function is
the filter_mail function. It should move/delete/change/export messages,
based on their header. For expo
Stephen G wrote:
> I am hesitant to make any changes to the python libraries as
> I need to distribute these scripts with a standard Python install.
well, you could at least check if the suggestions in that thread makes
the problem go away...
(if so, shipping a patched version with your progra
Fredrik,
Thanks for the response. I did see that, but having been dated 2005 I thought
that it might have been patched. I am also sometimes getting the same problem
with the urllib.py module. T
his may have to do with the interaction between Python and the mobile
optimization client that I
"Stephen G" <[EMAIL PROTECTED]> wrote:
> I get many exceptions when using the IMAP downloads. This happens
> randomly; sometimes the file downloads OK, and other times no.
> File "C:\Python25\lib\socket.py", line 308, in read
>data = self._sock.recv(r
Hi there. I have been receiving MemoryErrors using the Windows version of
Python 2.5. The script I have written times the sending and the reception of
emails with various attachments.
I get many exceptions when using the IMAP downloads. This happens randomly;
sometimes the file downloads OK
.append(sender[sender.find('From:')+5:].strip()) sender = "" else: sender+=itemprint parsed_sendersSebastjan
On 3/25/06, Kun <[EMAIL PROTECTED]> wrote:
Marco Carvalho wrote:> On 3/24/06, Sebastjan Trepca <[EMAIL PROTECTED]> wrote:>>>
m.select(
Marco Carvalho wrote:
> On 3/24/06, Sebastjan Trepca <[EMAIL PROTECTED]> wrote:
>
>> m.select('myfolder')
>
> Some attention is required here to retrieve subfolders.
> Some imap servers like Cyrus and Courier uses "INBOX.subfolder" to
&
On 3/24/06, Sebastjan Trepca <[EMAIL PROTECTED]> wrote:
> m.select('myfolder')
Some attention is required here to retrieve subfolders.
Some imap servers like Cyrus and Courier uses "INBOX.subfolder" to
access subfolders.
--
Marco Carvalho (macs) | marcoacarvalho(
Sebastjan Trepca wrote:
> A very simple example...
>
> import imaplib
> m = imap.IMAP4()
> m.login(username,password)
> m.select('myfolder')
> status, data = m.search(None,'(SUBJECT "BIKES")')
> assert status=='OK', "Error. Message: %s"%data
> data = data[0] #you get your results in a list and sea
1 - 100 of 131 matches
Mail list logo