Version: 4.7 OS: Linux I have an IMAP server that stores all my email and have Kmail set to check for new mail every five minutes. When new mail is on the sever, it shows up in the message list, but the notification sound isn't triggered. Every now and then, seemingly randomly, it will trigger the sound, but usually nothing happens. Reproducible: Sometimes Steps to Reproduce: Run Kmail with a notification sound set. Actual Results: Sometimes notification is triggered, sometimes not. Expected Results: Notification triggered each time there is new mail after checking. OS: Linux (i686) release 2.6.38-11-generic-pae Compiler: gcc
I improved it in 4.8 but not easy to fix all pb with notification.
(In reply to comment #1) > I improved it in 4.8 but not easy to fix all pb with notification. Not sure what pb is, but how can it not be easy to fix? Checking mail is a routine/function/class/whatever the buzzword for a function is this year, is it not? Do you not have a function that loops through all accounts flagged for periodic mail checking? If any of those accounts have new mail, set a flag stating that there is new mail. When the checking mail function is done, check that flag. If it indicates there is new mail, trigger the notification, otherwise don't trigger the notification.
Ok you didn't know code :) I doesn't look at email which come from account but detect when we add new email in folder. so we can have email which come from when we copy/move email. so not easy to know if it's new emails or moved emails. So it's for that it's not easy to fix it.
(In reply to comment #3) > Ok you didn't know code :) No, I don't know the code for KMail. Last time I looked at it was way back in the early days of KDE 4. I was going to try to reimplement a feature from KMail 3.x series that was missing. > I doesn't look at email which come from account but detect when we add new > email in folder. > so we can have email which come from when we copy/move email. > so not easy to know if it's new emails or moved emails. > So it's for that it's not easy to fix it. To me, that doesn't seem to be the most efficient way to handle a new mail notifications. If I'm moving an email from one folder to another, that's not new mail and I don't need a new mail notification event to trigger. The only time a new mail notification should be triggered is when new mail has arrived. That's why it's called a NEW MAIL notification.
Since upgrading to Kubuntu 11.10 (KMail 4.7.2) I haven't noticed it not notifying me when new mail comes in. My laptop is usually close by me most of the day. I hear the notification much more frequently than before, and haven't noticed any new mail without being notified.
I confirm the bug with KDE 4.8.4 and Kmail 1.13.7 on Debian amd64. I have one IMAP account in connected mode, with filtering on Sieve only. No "new mail" is notified, except for the currently selected directory. None of the notifications I set up is executed: no beep, no sound, no message, no command execution. I think it's an important feature for an email client and I hope this bug will be considered as so. I would be happy to provide any other additional useful information to help the fix.
*** Bug 290158 has been marked as a duplicate of this bug. ***
Marco, sorry but we no longer support kmail1. does this bug still affect other folks using KMail2 version 4.9 and above?
I currently see this with Kmail 4.9 (+ KDE 4.9). My mail is configured as IMAP (with IMAP IDLE support) and it has never notified me about new mail, despite "Detailed new mail notification" and Notification -> Kmail -> New Mail Arrived -> Show a message in a popup being enabled.
In 4.11 I rewrote notification. It's an agent, and I fixed a lot of bugs about it. And this bug is fixed for me. Please test 4.11 and reopen it if necessary