Description: Displayes the most recent 20 e-mails received at a POP account that are still awaiting download.
Queries the POP server once per minute and as new e-mails as they arrive.
The sender and the title are displayed.
You must configure the hostname and username/password info in the popcheck.py file.
You can include a list of substrings, such that if one of them is found in a new mail, an audible alert will sound. This allows you to know when new mail from particular people has arived.
The default alert sound is the word "MAIL" in Morse code. You can change this in the popcheck.py file by pointing to a different alert_file, or by replacing the included mail.ogg file with a different sound.
Clicking on an e-mail will cause popcheck to download the beginning of the file and display it in a kdialog message box. This way you can look at the start of an e-mail (up to 30 lines) without opening your e-mail client to download the message.Last changelog:
V1.2: Added error checking to handle POP errors or problems with network connectivity.
This is great, especially the way you can pop up previews of the messages. What I would really love is Gmail access. For that you need to use SSL & port 995 (see https://mail.google.com/support/bin/topic.py?topic=1555)
Thanks for such a good SuperKaramba add-on.
I don't think it's that easy.
The reason is that you normally don't download the e-mail from the gmail.com server, so I suspect that every time the theme tried to download the headers, it would get them ALL.
You can test it if you like:
1. Add the line
from poplib import POP3_SSL
near the top of popcheck.py
2. Replace all occurrences of POP3 in the code with POP3_SSL
In theory, that's all that's needed. But as I say, I think you'll find that while that would work for ordinary POP3 servers accessed over SSL, it won't do what you want for gmail.
So I suspect that for google, one would ned to implement some state that keeps track of how many e-mails have been looked at in the past. Which is a bit more pain than I want to subject myself to right now :-)
Although if someone else reads this and wants to implement it, they're of course welcome to give it a shot.
Incidentally, if I'm wrong and the changes I describe above are in fact all that's needed to make th etheme work with gmail, just let me know and I'll put them in the base code.
It looks like it won't work - possibly because of the port problem. There is another Gmail checker that uses wget, but it only shows a brief tooltip when you hover over the email title, not like your pop-ups which can provide a few lines of the email body.
Thanks for the effort - popcheck is still one of the best email checkers available for standard pop3 accounts. :)
There shouldn't be a port problem; the SSL version of the POP3 object will connect to the correct port (I checked that before I suggested that you try the POP3_SSL version; the default port that the object expects to use matches the port that google uses). So the problem may be what I suggested (i.e., the e-mails are never removed from the server) or it may be something else, but I'm pretty sure that it's nothing to do with the ports.
I did get it working - it looks like I missed hashing one line previously (sorry). As you said, the one problem is that it shows all mails, not just the ones in the inbox. Still, I am using it for my other POP3 account, so it is very useful for me. It's great to have the preview function - I don't always have my Thunderbird open when I have a lot of other stuff running, so it's good to be able to see what's in each mail without having to download them.
Thanks for following it up :)
Ratings & Comments
5 Comments
This is great, especially the way you can pop up previews of the messages. What I would really love is Gmail access. For that you need to use SSL & port 995 (see https://mail.google.com/support/bin/topic.py?topic=1555) Thanks for such a good SuperKaramba add-on.
I don't think it's that easy. The reason is that you normally don't download the e-mail from the gmail.com server, so I suspect that every time the theme tried to download the headers, it would get them ALL. You can test it if you like: 1. Add the line from poplib import POP3_SSL near the top of popcheck.py 2. Replace all occurrences of POP3 in the code with POP3_SSL In theory, that's all that's needed. But as I say, I think you'll find that while that would work for ordinary POP3 servers accessed over SSL, it won't do what you want for gmail. So I suspect that for google, one would ned to implement some state that keeps track of how many e-mails have been looked at in the past. Which is a bit more pain than I want to subject myself to right now :-) Although if someone else reads this and wants to implement it, they're of course welcome to give it a shot. Incidentally, if I'm wrong and the changes I describe above are in fact all that's needed to make th etheme work with gmail, just let me know and I'll put them in the base code.
It looks like it won't work - possibly because of the port problem. There is another Gmail checker that uses wget, but it only shows a brief tooltip when you hover over the email title, not like your pop-ups which can provide a few lines of the email body. Thanks for the effort - popcheck is still one of the best email checkers available for standard pop3 accounts. :)
There shouldn't be a port problem; the SSL version of the POP3 object will connect to the correct port (I checked that before I suggested that you try the POP3_SSL version; the default port that the object expects to use matches the port that google uses). So the problem may be what I suggested (i.e., the e-mails are never removed from the server) or it may be something else, but I'm pretty sure that it's nothing to do with the ports.
I did get it working - it looks like I missed hashing one line previously (sorry). As you said, the one problem is that it shows all mails, not just the ones in the inbox. Still, I am using it for my other POP3 account, so it is very useful for me. It's great to have the preview function - I don't always have my Thunderbird open when I have a lot of other stuff running, so it's good to be able to see what's in each mail without having to download them. Thanks for following it up :)