I have created an application in PHP. I have also create a script in this application which reads inbox messages from my Gmail account. It is successfully executing at localhost but giving error on remote. I have tried almost every possible alternate as I understand but not succeed. It gives me following error at remote imap_open() [function.imap-open]: Couldn't open stream {imap.gmail.com:993/imap/ssl}INBOX I have used alternate imap's address from different forum discussion but not it not working. My remote information as following: [TABLE="class: truncate-table, width: 100%"] [TR="class: row-even"] [TD="class: stats_left, align: left"]Apache version[/TD] [TD="class: stats_right, align: left"]2.2.15[/TD] [/TR] [/TABLE] [TABLE="class: truncate-table, width: 100%"] [TR="class: row-odd, bgcolor: #F3F3F3"] [TD="class: stats_left, align: left"]PHP version[/TD] [TD="class: stats_right, align: left"]5.2.9[/TD] [/TR] [/TABLE] [TABLE="class: truncate-table, width: 100%"] [TR="class: row-even"] [TD="class: stats_left, align: left"]MySQL version[/TD] [TD="class: stats_right, align: left"]5.0.95-community-log[/TD] [/TR] [/TABLE] [TABLE="class: truncate-table, width: 100%"] [TR="class: row-even"] [TD="class: stats_left, align: left"]Operating system[/TD] [TD="class: stats_right, align: left"]linux[/TD] [/TR] [/TABLE] and having dedicated IP. On the other hand, Localhost information as following: Appache 2.2.17 PHP 5.3.5 MYSQL 5.5.8 Is this because of this difference??? or any other reason?