Recently my webhost rebuilt the webserver, ever since then my script for reading my mailbox has stopped working. I believe I have narrowed it down to this function:
imap_fetchstructure
When I enter this in my script, and run the script in my web browser, I get a blank screen. This is what my web host told me about the way they rebuilt the server:
"I did some research and by default PHP uses the 2000b version of the IMAP library. --with-imap=/usr/local/imap-2004g means PHP is using the newer 2000g version of the library. Not sure if the newer version broke the script or not. I would create a simple bare-bones PHP script that uses IMAP and see if it works."
I have tried making it as barebones as possible, but it looks like the imap_fetchstructure is breaking it every time. Anybody have any thoughts? Thank you!
-Jason