<div dir="ltr">Hello,<div style>first time here for me.</div><div style><br></div><div style>I&#39;m writing a little application to access gmail using the <span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px">IMAP4 library.</span></div>
<div style><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px">I&#39;m using the connection string</span></div><div style>
<font color="#000000" face="Helvetica Neue, Bitstream Vera Sans, Helvetica, Arial, sans-serif"><span style="line-height:16px"><br></span></font></div><div style><span style="background-color:transparent;color:rgb(0,0,0);font-family:monospace,monospace;font-size:13px;line-height:16px">strport=&#39;</span><font color="#000000" face="Helvetica Neue, Bitstream Vera Sans, Helvetica, Arial, sans-serif"><span style="line-height:16px">ssl:host=imap.gmail.com:port=993&#39;</span></font></div>
<div style><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px">but it doesn&#39;t connect (timeout failure).</span></div>
<div style><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px">The code is the mail_client function in this module</span></div>
<div style><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px"><br></span></div><div style><a href="https://github.com/quantmind/pulsar/blob/handshake/examples/webmail/manage.py">https://github.com/quantmind/pulsar/blob/handshake/examples/webmail/manage.py</a><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px"><br>
</span></div><div style><br></div><div style>What am I doing wrong?</div><div style>Thanks</div><div style>Luca</div><div style><span style="color:rgb(0,0,0);font-family:&#39;Helvetica Neue&#39;,&#39;Bitstream Vera Sans&#39;,Helvetica,Arial,sans-serif;font-size:13px;line-height:16px"> </span></div>
</div>