title: IMAP with gmail
body: <p>I am doing to fetch the emails from my gmail account. its work in localserver like localhost.. but when i try to fetch the email from server it give the timeout error. 
  can anyone help me?</p>
  
  <blockquote>
    <p>Warning: imap_open(): Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX in /home/appdeal/public_html/appDeal/getmail2.php on line 9
    Cannot connect to Tiriyo: Can't connect to gmail-imap.l.google.com,993: Connection timed out</p>
  </blockquote>
  
  <p>url : <a href="http://appdeal.com/appDeal/getmail2.php" rel="nofollow">http://appdeal.com/appDeal/getmail2.php</a></p>