dangmoo Posted December 10, 2013 Share Posted December 10, 2013 PHP imap_open function is not working on my account dangmoo.heliohost.org/ which is on Johnny server.I'm getting 500 Internal Server Error.Imap function appears to be enabled on my account, I tried connecting to Gmail and Outlook with same error, using a bare minimal script: <?php $hostname = '{imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX'; $username = 'user@gmail.com'; $password = 'password'; /* try to connect */ $inbox = imap_open($hostname,$username,$password) or die('Cannot connect to Gmail: ' . imap_last_error()); ?> Error log:[10-Dec-2013 10:43:20 America/Los_Angeles] PHP Warning: imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {imap.gmail.com:993/imap/ssl/novalidate-cert}INBOX in /home/dangmoo/public_html/test22.php on line 8 Please advise Link to comment Share on other sites More sharing options...
Byron Posted December 10, 2013 Share Posted December 10, 2013 This support request is being escalated to our root admin. I checked and imap is working on Stevie but not Johnny. It gives me a 500 error when I try to connect to my gmail account. Link to comment Share on other sites More sharing options...
Krydos Posted December 11, 2013 Share Posted December 11, 2013 Does it work now? Link to comment Share on other sites More sharing options...
Byron Posted December 11, 2013 Share Posted December 11, 2013 Works for me now. Link to comment Share on other sites More sharing options...
dangmoo Posted December 11, 2013 Author Share Posted December 11, 2013 Yep, it's working for me too.Thank you guys Link to comment Share on other sites More sharing options...
Recommended Posts