In their continuing series on creating an email application in PHP, DevShed has posted this new article showing how to create folders for the application, letting you sort and store the messages easily.
In this article, the fourth and final one of our series covering the creation of a PHP email application, we are going to look at the code for some of the remaining pages of the mail application. Chief among these is the NewMsg.php page, which is where items, to be more precise, new messages, are either saved as drafts or saved as sent messages.
They give the code to display the message, including its location, before getting on to the form handling script for the results. There's some extra code included in this handling functionality, so they finish up by explaining what those sections do and how to add on one more folder - the Trash.