I'm giving the final touches to a web based e-mail program that works fine and can do all the basic functions but I'm not shure about the streams scope when you use $stream=imap_open(...). Acording to the manual this function results in a stream to the IMAP server, but does the stream dies when your script stops like in the mysql functions? or do you have to use imap_close($stream)? Is there some way to pass along the stream using cookies or something like that?
As far as I can see, I'm opening and closing the stream at the beginning and end of my code, but sometimes, when I'm working with folders, the server suddently refuses the connection and I have to wait several minutes before being able to get in again.
Lee!

    Write a Reply...