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

christophe christophe.dr at free.fr
Tue Mar 27 11:59:04 UTC 2007

In a script, i'd like to check wether kmail has some unread mails.
In order to do so, i found on a mailing list that something like :
`cat /home/christophe/.kde/share/apps/kmail/mail/.*.index | grep -c "0000"`
would do the trick, but it always returns zero. Where am i wrong ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20070327/7273ecca/attachment.sig>

More information about the kde-linux mailing list