I'm using php to build my own webmail system. I have 3 frames with the following in them.
Frame1 has the IMAP mailboxes listed.
Frame2 has the Headers for the current mailbox.
Frame3 has the Body of the current header (preview pane).
When I click on a mailbox in Frame1 the contents of Frame2 changes. If I click on a header in Frame2 the content in Frame3 changes. This is how I want it to work with a few exceptions.
When I switch mailboxes, the headers change but the old message is still in the displayed. When I switch to a different mailbox I want the headers in Frame2 to change and also want Frame3 to show the body of the first header in the current mailbox.
Can this be done using PHP or javascript or something?
Thanks,
Randy