A long time ago i spend a lot of my resources programming fractals and "natural" phenomenons. Since my last adventure with pygame i was playing around with the idea of implementing some algorithms of old times in python anew and use pygame to test them. A small module that creates screens with stars on it is what i will speak about here.
MailSneaker Part 4: Wrapping it up the simple way
Welcome to part 3 of the mailsneaker series.
This entry is UNRELATED to the code of the former two parts !
You can use it seperately.
Today we are going to implement a SystemTrayIcon with a small and nice menu.
Ok, it's actually NOT called SystemTray. But everybody calls it that way.
We can also say TaskBarIcon although in my view that naming is even more horrible than the other.
Ok .. last time we made a small imap fetcher.
I got some remarks that it would only look in the INBOX and that might not be what we want.
Just include a new parameter in the fetch method with the name of the inbox you want to scan and pass that on to the imaplib.
Today we will add a pop3 fetcher and a generic class for mailaccounts so that the user later can run the program against several accounts.
We are going to buid a small program to check periodically for our mails. And to make it as unobtrusive as possible we let it settle in the taskbar, check for mails and (if there are new mails) it will tell us with a small popup or a change in the icon in the taskbar. We want to be able to open a browser then and have a look at the mails.. Perhaps we include a small preview of the mails ... We will see.
To make it a little bit more powerfull we want several accounts to be checked. Configurable of course :)