Download Sample Programs
Hotmail New Mail Checker
This application illustrates the ease of use of the jCookie library. It displays the From, Subject, and Date fields of the new messages in a Hotmail account. For simplicity, the application displays this information on the console.
Read the JavaWorld.Com article "A Recipe for Cookie Management" (April 2002) by Sonal Bansal, for a detailed description of this application.
The code for the application can be downloaded here:
To run the compiled application, issue the following command,
where <userid> is your Hotmail username, and <password> is the corresponding password.
On a successful run, the application displays the number of new messages, as well as rudimentary header information.