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


Groups > comp.lang.python > #22548

Re: Problem connecting to SMTP/IMAP server using SSL

References <722270ac-367f-4058-84ed-92ba10f4516a@ur9g2000pbc.googlegroups.com>
Date 2012-04-02 18:10 -0400
Subject Re: Problem connecting to SMTP/IMAP server using SSL
From Michael Hrivnak <mhrivnak@hrivnak.org>
Newsgroups comp.lang.python
Message-ID <mailman.1240.1333404619.3037.python-list@python.org> (permalink)

Show all headers | View raw


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 <jphalip@gmail.com> wrote:
> 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:
>
>>>> import imaplib
>>>> imap = imaplib.IMAP4_SSL("my.server.address")
>
> If I am connected to the VPN, then it works fine.
>
> Do you know why it won't work with SSL and without the VPN? Am I
> missing something?
>
> Thanks a lot,
>
> Julien
> --
> http://mail.python.org/mailman/listinfo/python-list

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


Thread

Problem connecting to SMTP/IMAP server using SSL Julien <jphalip@gmail.com> - 2012-03-30 22:39 -0700
  Re: Problem connecting to SMTP/IMAP server using SSL Michael Hrivnak <mhrivnak@hrivnak.org> - 2012-04-02 18:10 -0400
    Re: Problem connecting to SMTP/IMAP server using SSL Julien <jphalip@gmail.com> - 2012-04-02 15:25 -0700
      Re: Problem connecting to SMTP/IMAP server using SSL Michael Hrivnak <mhrivnak@hrivnak.org> - 2012-04-02 21:57 -0400

csiph-web