[kde-linux] How to check kmail has some unread mails ?

Peter Humphrey prh at gotadsl.co.uk
Tue Mar 27 15:54:07 UTC 2007

On Tuesday 27 March 2007 14:06:05 Kevin Krammer wrote:

> Try this
> % dcop kmail KMailIface folderList | while read folder; do dcop $(dcop
> kmail KMailIface getFolder "$folder") unreadMessages; done

In case it helps, I get loads of these:
bash: KMailIface: command not found
object not accessible

> I am using KMail 1.9.5, maybe this is a newly added method.

This is 1.9.6.

Peter Humphrey
Linux Counter 5290, Aug 93

More information about the kde-linux mailing list