Hacking Gmail

(Grace) #1

Chapter 8 — Checking for Mail 149


Run this as a background application by typing the following command:


./google2rssbot.pl &


You can kill it with a judicious control-c.


There are many ways to extend this script — allowing different people to check


different accounts depending on their buddy name, and so on. It should be clear
from the listing how to do this.


And Now


So now you have seen how to check for new mail in three languages, and how to
create some interesting applications to repurpose that data. In all, quite simple


stuff but a good starting point. In the next chapter, you move on to the next logi-
cal stage: reading the mail.

Free download pdf