title: php imap get connection failed error
body: <pre><code>Warning: imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/imap/ssl}INBOX in /home/happy/public_html/source/imap/fet_mail_from_email_add.php on line 7
  can't connect: Can't connect to gmail-imap.l.google.com,993: Connection timed out
  </code></pre>
  
  <p>my snippet is </p>
  
  <blockquote>
    <p>$mbox = imap_open("{imap.gmail.com:993/imap/ssl}INBOX",
        "user@gmail.com","somesecretpassword")
        or die("can't connect: " . imap_last_error());</p>
  </blockquote>