Programming

MailReaderCMD is a simple program to read email from an IMAP mailbox using the javax.mail classes. It shows how to connect to a mail box, navigate to the appropriate folder, download messages and print out their contents. To keep it simple it doesn't work with MIME messages.

PhotoRename is a java command line utility that renames photos based on their file date. It adds a number like 20040801 to the beginning of the file name to represent August 1st 2004. This makes it easier to keep files in chronological order even if the file date changes.

GetWebPage is a java command line program that demonstrates how to use java.net.URL to get the contents of a web page. It takes a URL as a command line argument and simply prints out the contents of that page.