I\'ve been programming in PHP for a few months now, but have recently been given the task of writing a webmail for our mail server.
Reading through the PHP manual, I can understand the basics, connecting to the mail server, sending mail, ect. But there are a few things that leave me with dumbfounded look on my face. (Either I\'m not reading it right, or it\'s not explained well.)
Here\'s where I run into problems:
Headers. I can\'t seem to have any script i try retrieve the message headers in a mailbox. I also don\'t see which commands are best suited for
which situation.
sorting. I have no clue how i would sort the messages in a mailbox and display them to be read.
If anyone can point me down the right road, or tell me if there\'s a decent tutorial out there, I\'d greatly appreciate it.
TIA,
Ben