Bug 89005 - please add support for external mail notification program
Summary: please add support for external mail notification program
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 15:48 UTC by Timo Weingärtner
Modified: 2009-12-19 23:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Weingärtner 2004-09-07 15:48:22 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

i would like to have support for an external script which turns on and off the message led on my notebook. As KMail already counts unread mails, it would be easy to call eg. "~/bin/mled <number_of_unread_messages>" in addition to or instead of the tray icon.
Comment 1 Tom Albers 2004-09-07 15:56:27 UTC
You can set up a notification via an external script when new mail arrives. Does that work for you?
Comment 2 Timo Weingärtner 2004-09-07 19:19:47 UTC
Am Dienstag, 7. September 2004 15:56 schrieb Tom Albers:
> You can set up a notification via an external script when new mail arrives.
> Does that work for you?

no, the led shall be turned off, when there are no more unread messages.

Comment 3 Tom Albers 2004-09-07 20:03:35 UTC
Maybe you could do this with a dcop call. You can look add kdcop and look for something like unreadRecursiveMessage(). You can access that on the command line as well. Maybe with some intelligent filter or button, you could manage. This would be sooner then the implementation in KMail I guess...
Comment 4 Björn Ruberg 2009-12-19 23:43:55 UTC
You can configure an external notifcation script in the notification configuration. If you really want to now when there is no unread mail anymore, you have indeed to connect via dbus (dcop replacement now) - an extra notification for that would be quite strange.