Steve Howell wrote in news:ae774035-9db0-469d-aa2a-
02f2d25ff...@qg3g2000pbc.googlegroups.com:
> Once you are able to import ssl, you should be able to use IMAP4_SSL,
> but that still doesn't entirely explain to me why you got a timeout
> error with plain IMAP4 and the proper port. (I would have
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:
>
> >> steve@runes:~$ python2.6
> >> Python 2.6.6 (r266:8429
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:
>
> >> steve@runes:~$ python2.6
> >> Python 2.6.6 (r266:8429
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 2010, 00:02:40) [GCC 4.4.5] on linux2
>> Typ
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 "license" for more information.>>>
> import imaplib
> >>>
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.IMAP4_SSL('x')
> But when I tr
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
>>> server = imaplib.IMAP4_SSL('x')
>>> print server
11 matches
Mail list logo