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

Peter Humphrey prh at gotadsl.co.uk
Tue Mar 27 19:05:35 UTC 2007


On Tuesday 27 March 2007 17:59:40 christophe wrote:
> Le Mardi 27 Mars 2007 17:54, Peter Humphrey a écrit :
> > 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 had the same problem when i just copied-pasted the command, that is in
> two lines in this mail. I had to copy the two lines successfully so that
> they are in the same line. Then it worked.

Hah! Yes, me too. That's bizarre.

-- 
Rgds
Peter Humphrey
Linux Counter 5290, Aug 93



More information about the kde-linux mailing list