Hello, I'd like to write an application to help me programmatically sort and delete some emails that are currently stored in maildirs belonging to kmail. (I mean kmail receives, handles and stores the emails, but I'd like a 3rd-party software to delete the emails under certain conditions).
I can write the application to browse the maildirs, and parse the MIME. I have found a couple of APIs that I might use (any recommendations?). But where I am a bit uncertain, is how to handle the deletion of the emails. Deleting a specific email is certainly easy (delete the corresponding file), but what about regenerating indexes? Wouldn't I be better off using some d-bus API? Let kmail perform the deletion itself? Does one d-bus API exist for email deletion? And by the way, where is the d-bus API for kmail documented? I searched but found nothing. Would you recommend any specific API to browse the maildirs, parse the MIME and, obviously, delete the emails from within my application? Thanks, Augustin. -- Friends: http://www.reuniting.info/ My projects: http://astralcity.org/ http://les3enjeux.fr/ http://linux.overshoot.tv/ http://overshoot.tv/ http://charityware.info/ http://masquilier.org/ http://openteacher.info/ http://minguo.info/ http:://jacqueslemaire.fr/ http://www.wechange.org/ http://searching911.info/ . >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<