This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Get information from KMail

Tags: None
(comma "," separated)
devildante
Registered Member
Posts
1
Karma
0

Get information from KMail

Mon Apr 27, 2009 9:12 pm
Hello,

I'm currently developing a Plasmoid, and I would like to retrieve number of messages in inbox from KMail. How can I do that?
User avatar
beermad
Registered Member
Posts
104
Karma
0
OS

RE: Get information from KMail

Wed Apr 29, 2009 12:14 pm
How about
Code: Select all
ls /home/tony/.kde/share/apps/kmail/mail/inbox | egrep -v "^$|:$" | wc -l


User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: Get information from KMail

Fri May 01, 2009 1:42 pm
For the time being probably through KMail's D-Bus interface.

Once we've started using Akonadi for mail, there won't be any need to talk to a specifc application.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: Get information from KMail

Fri May 01, 2009 1:43 pm
For the time being probably through KMail's D-Bus interface.

Once we've started using Akonadi for mail, there won't be any need to talk to a specifc application.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]