ImapQuickCheck

Email

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

3
5.7
Available as/for: -
Description:

- ImapQuickCheck v1.3 -
----------------------

ABOUT:
------
ImapQuickCheck is a lightweight systray docking app that checks your IMAP mailboxes for unread messages, similar to Gnome's Mail Notification.

FEATURES:
---------
- lightweight systray application
- GMAIL support through IMAP-SSL (use host:imap.gmail.com and port:993)
- check multiple mailboxes at once
- ability to mark read or delete unread mail from context menu
- animated sytray icon displaying unread mail count information
- displays a detailed mail list when mouse pointer hovers the icon
- pop-up & sound playback upon incoming new mail
- easy IMAP mailboxes setup
- launch external apps from systray such as e-mail client (context menu, double-click, middle-click)
- various configuration options
- translations : english, french

REQUIREMENTS:
-------------
- Qt (I mean Qt4), including sql/sqlite module
- python-pysqlite2
- alsa-utils (optional)
Last changelog:

11 years ago

Version 1.3 (2010/01/20)
- ADDED : Mail check process expiration timeout
- FIXED : pysqlite2 is no more required as a dependency. Using python's sqlite3 built-in module instead
- ADDED : make install rules

Version 1.2 (2009/09/10)
- FIXED : another silly bug with sqlite usage
- FIXED : bug with popup message duration

Version 1.1 (2009/09/09)
- FIXED : memory leak with sqlite usage
- ADDED : ability to mark read or delete unread mail from context menu

Version 1.0 (launched 2009/08/23)

xtekhne

11 years ago

I managed to print out the traceback (here enclosed) from sys.exc_info(). but output is unclear to me.

Can you draw any useful informations?
Thank you
---P

---- enc
('KeyError', '<no args>', [' File ".config/ImapQuickCheck/imap_check_sql_final.py", line 159, in imapMailboxChecker\n mailArray.append( [ extractDataNew(mesginfo[0][1], _keys_new[0]),\n', ' File ".config/ImapQuickCheck/imap_check_sql_final.py", line 91, in extractDataNew\n return htmlentities( filterHTML( _data[(_start+len(_currentKey)):_end].strip() ) )\n', ' File ".config/ImapQuickCheck/imap_check_sql_final.py", line 55, in htmlentities\n result.append(\'&%s;\' % codepoint2name[ord(c)])\n'])
sys.exc_info() <type 'exceptions.KeyError'>

------ enc enc

Report

xtekhne

11 years ago

The 'login' error has not occured since restarting the application.

Both troubled users show the 'fetch' error.

Since they are all three gmail accounts, i am wondering what could be the difference in the connection process.

Starting
.config/ImapQuickCheck/imap_check_sql_final.py

i get:

sys.exc_info() <type 'exceptions.KeyError'>

Any ideas?

Thank you
---P

Report

xtekhne

11 years ago

I successfully compiled imapquickcheck, yet it never notifies about unread mail.

Clicking 'check now' pops up a panel reading:
"Unread mail found in the following accounts:
Mail preview"

I am using kde 4.4beta2 and i am trying to connect to connect to my gmail account.

Maybe anything is wrong in filling in the account form?
Here is my guess:

Name: <Any title>
Protocol: IMAP SSL
Host: imap.gmail.com
User: <my account>@gmail.com
Password: <my password>

Is that correct?

Thank you

---P

Report

amair

11 years ago

Hi,

today a mail arrived that caused ImapQuickCheck to report a fetch error and to not display any unread messages for that account.
It seems to be related to a mail having that subject in the email headers:
Subject: =?UTF-8?Q?Alles_=C3=BCber_Windows_7_|_Kostenlos:_65_Fotoabz=C3?=
=?UTF-8?Q?=BCge_|_Selbstmangement:_Zeitplanung_|_Kostenlos_bei_Google_W?=
=?UTF-8?Q?erbung_schalten_(im_Wert_von_30_EUR)?=

I've made some tests and found another problematic header (only "Alles" is displayed as subject):
Subject: Alles
=?iso-8859-1?q?=FCber_Windows_7_=7C_Kostenlos=3A_65_Fotoabz=FCge_=7C?=
=?iso-8859-1?q?_Selbstmangement=3A_Zeitplanung_=7C_Kostenlos_bei_Google?=
=?iso-8859-1?q?_Werbung_schalten?= (im Wert von 30 EUR)

Looks like ImapQuickCheck doesn't like multiline subjects.

Regards,
Andreas

Report

amair

11 years ago

Hi,

now that I got it running it looks very promising and might eventually replace mail-notification :)

I have some feature requests:
1) The "Edit selected account" button has no colors and I first thought it's disabled. Maybe this can be changed.

2) Beautify the "New Mail" popup. I think it should be more compact, e.g. display label and value in a single row (the same as it's in the systray icon). Maybe you want to take a look at the first screenshot at http://www.nongnu.org/mailnotify/.

3) Preview all new mails in the "New Mail" popup. It seems that only the most recent one is shown.

4) Definable actions on mouseclicks at the systray icon, like run mail-client, check for new mail...

5) Rearrange the systray popupmenu.
5a) I think that "Preferences", "Acounts" and "Info" are not that important after anything is set up and should be moved to a submenu.
5b) Instead of "Unread Mail" there should be a submenu for each account (or a submenu for "Accounts"). And for each account there should be some actions, like what's now the "Unread Mail" submenu.

6) Move some global settings into the accounts settings. For example I have accounts I need to query often and I accounts I can't query often (limited by provider). And then there are accounts I'm using through WebMail and others I access through a mail client, so it would be very useful (at least for me ;)) to have a different mail client setting for each account (running the mail client should then move to the submenu as said in 5b.

7) More protocols POP3, local mbox...

OK, that's quite a lot, but maybe others find some of them useful too.

BTW: if you need translation help, then I'll can take the German part.

Regards,
Andreas

Report

C

tonypizza

11 years ago

Hi amair,

All of your proposals are very interesting but i am afraid that i don't have that much time to develop an app as full featured as mail-notification for now.

Anyway, I can give you some kind of an answer to the following points :

1/ well, I quite agree, got to find a more suitable icon.

2/ the Qt4 showMessage() instruction used for the popup does not allow fancy stuff to display in. I could eventually replace it with a command like: kdialog -passivepopup

3/ I have wondered the question of displaying many messages in the popup too, but I finally found it very 'intrusive' : half your desktop is suddenly showing the unread messages. I personnally rather something more discrete. This could eventually be an option in the Settings panel.

4/ doubleclick assigned to Email Reader
middleclick assigned to Email composer

5/ well, this is a point of view

6/ this would involve deep changes and quite some time to code

7/ Imap protocol makes it easy to retrieve 'Unseen' mail. In the contrary, pop3 does not. Local mbox : i dont know. Gmail could be not that difficult to implement.


regards/

Report

amair

11 years ago

Hi,

thanks for your comments!
I don't want a mail-notification clone, ImapQuickCheck is almost fine for me.

2) OK, I see. I've now modified your code and added support for kdialog passive popups. If you are interested I'll make it configurable and provide a patch.

3) You're right. I think I will add this while also working on #2.

4) Ah, didn't know of the doubleclick feature.

5) That's right, and I can live without it.

6) It's a kind of "nice to have".

Are you interested in a German language translation?
Do you accept patches if I will finish #2 and #3?

Regards,
Andreas

Report

C

tonypizza

11 years ago

ok for the patches and the translation.

regards/

Report

amair

11 years ago

Hi,

I've sent you patches and translations but haven't received feedback yet.

Did you get the emails?

Regards,
Andreas

Report

amair

11 years ago

Hi!

I'm trying v1.1. but I can't add accounts.
Every field on the "Accounts settings" tab is disabled/grayed except the "+" sign, but this one has no effect if clicked.

Any idea what's going wrong here?

Regards,
Andreas

Report

C

tonypizza

11 years ago

Hi,

You probably don't have the Sql module for Qt installed. Check the python-pysqlite2 package too.

regards/

Report

amair

11 years ago

Hi!

Thanks for your reply.

I think I've all required packages installed (on Gentoo):
- dev-python/pysqlite 2.5.5
- x11-libs/qt-sql 4.5.1
- dev-lang/python 2.6.2

Everything emerged using "sqlite" USE flag.

Can I enable some debugging to find missing modules?

Regards,
Andreas

Report

C

tonypizza

11 years ago

Well, try again with updated version 1.2. Seems like this was a bug. My bad, sorry about this.

Let me know if this now works (or not !) for you.

Regards/

Report

amair

11 years ago

Hi,

thanks, now it works.
I had to delete ~/.config/ImapQuickCheck/ so that I could add accounts.

Regards,
Andreas

Report

jirityr

11 years ago

Does it support some kind of SPAM filter? I don't wanna be disturbed every minute by a SPAM e-mail.

Report

karapuz

11 years ago

This program only checks the Inbox? I have a filter on server and new mail can be located in other folders.

Report

C

tonypizza

11 years ago

hi

yes, it checks the INBOX folder on your imap server.

You may want to set an alternate inbox in the accounts settings dialog.

Setting various alternate inboxes is not currently supported, but this could be an idea for a future version.

regards/

Report

11 years ago

Version 1.3 (2010/01/20)
- ADDED : Mail check process expiration timeout
- FIXED : pysqlite2 is no more required as a dependency. Using python's sqlite3 built-in module instead
- ADDED : make install rules

Version 1.2 (2009/09/10)
- FIXED : another silly bug with sqlite usage
- FIXED : bug with popup message duration

Version 1.1 (2009/09/09)
- FIXED : memory leak with sqlite usage
- ADDED : ability to mark read or delete unread mail from context menu

Version 1.0 (launched 2009/08/23)

12345678910
1
product-maker lionhater Oct 04 2012 9 excellent
Be the first to comment
drbytes
Nov 30 2010
screemo
Jan 26 2010
swiftscythe
Jan 21 2010
File (click to download) Version Description PackagetypeArchitectureRelease ChannelDevices Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.3
updated Jan 20 2010
added Aug 23 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2
System Tags app software