I am just a tad bit lost with IMAP. I am building a custom client interface for web based email. I am using Mercur email server on Win2k and a dec running tru64 for the client web server. my script in basic does the following:
imap_open ..... <- open connection to inbox
imap_listmailbox...* <-get folder list
draw a fancy little menu
imap_status <- on each folder to grab
folder information
recent/ new / etc..
imap_fetch_overview <- self explanitory I
think!?!?!?
The connection opens fine and logs in, a little bit slow but tollerable. I store folder information after log in inside of a session, keeps me from having to re-read folder info on every form post, that seems to help.
I get back the status info but it seems to be consistently the same values regardless of new messages or not.
I get a partial list of email messages for the user. it never displays new messages that have come in.
I get back message header info but it seems garbled, especially in the from line, repeating email adress, really strange. It doesn't seem to even check for the new messages, only old ones that have been in there for ages. What am I missing here?
Please help
Jason