Re: Problem connecting to SMTP/IMAP server using SSL

2012-04-12 Thread Dan Stromberg
Maybe it's a matter of two different protocols, one requiring a VPN, one not. You could perhaps try a sniffer to check that out. Where to place the sniffer could be complicated though. On Fri, Mar 30, 2012 at 10:39 PM, Julien wrote: > Hi, > > I'm able to connect to an Exchange server via SMTP

Re: Problem connecting to SMTP/IMAP server using SSL

2012-04-12 Thread Dan Stromberg
Are you quite sure that your iPhone isn't using some sort of VPN? On my Android phone, I need a VPN client to access my work mail, but I install it once and forget about it; it doesn't require me to enter my password more than once. On Fri, Mar 30, 2012 at 10:39 PM, Julien wrote: > Hi, > > I'm

Re: Problem connecting to SMTP/IMAP server using SSL

2012-04-12 Thread Christian Heimes
Am 12.04.2012 08:56, schrieb Julien Phalip: > Hi Michael, > > Thanks again for your reply. I've tried using SMTP with TLS. And again > it works with the VPN turned on but it still won't work with the VPN > turned off. For some reason I don't understand, it simply won't > instantiate the SMTP/SMTP_

Re: Problem connecting to SMTP/IMAP server using SSL

2012-04-11 Thread Julien Phalip
Hi Michael, Thanks again for your reply. I've tried using SMTP with TLS. And again it works with the VPN turned on but it still won't work with the VPN turned off. For some reason I don't understand, it simply won't instantiate the SMTP/SMTP_SSL/IMAP4/IMAP4_SSL objects at all and will hang fore

Re: Problem connecting to SMTP/IMAP server using SSL

2012-04-02 Thread Michael Hrivnak
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 me, as I can access

Re: Problem connecting to SMTP/IMAP server using SSL

2012-04-02 Thread Julien
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 SSL

Re: Problem connecting to SMTP/IMAP server using SSL

2012-04-02 Thread Michael Hrivnak
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 > iPhone using SSL and w

Problem connecting to SMTP/IMAP server using SSL

2012-04-02 Thread Julien
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 ima