mail2rss - firstname.lastname@example.org
class name: mail2rss,
constructor function takes in the mail username, password, mailserver, servertype i.e pop or imap, and the port which defaults to 110 for pop and 143 for imap.
the main worker function that reads the mailbox and creates the feed, all the parametes are optional, but passing them to the function will give you a sensible rss feed.
Spits out the rss feed to a browser or feed reader
create a file with the rss written in, usually the file created should have *.xml extension
every good citizen closes resources once they opens them, this function does the same by closing the active imap/pop connection
if you find this piece of code useful, and need enhancements or find bugs... please do write to me,