Image

Imagesoltice wrote in Imagephp

dies on imap_open

First,


Could not open mail stream

Mailboxes

\n"; } else { while (list ($key, $val) = each ($folders)) { echo $val."
\n"; } } ?>

You have Message(s)

Headers in INBOX

\n"; } else { while (list ($key,$val) = each ($headers)) { echo $val."
\n"; } } imap_close($mbox); ?>



The difference, of course, is that one replaces A_SERVER_CONFIG, USERNAME, and PASSWORD.



The problem I'm having is that when I put in the wrong settings for a account, the script ends displaying the appropiate message. But when one puts in the proper values, the script dies. No error message is displayed, in fact, the webpage doesn't refresh at all even if I change some of the static elements.

I have gotten PHP email clients to work on the server before, but not one's I've written.