Re: KMail plugin

Ingo Klöcker <[email protected]> Thu, 24 Apr 2008 23:25:39 +0200
Newsgroups gmane.comp.kde.devel.kmail
Message-ID <[email protected]>
On Thursday 24 April 2008, [email protected] wrote:
> > KMail currently does not support plugins except for
> > bodypartformatter plugins. The bodypartformatter interface can be
> > found in
> >   KDEDIR/include/kmail/interfaces/bodypartformatter.h
> > For the API documentation have a look at [1] and [2].
> >
> > Examples of bodypartformatter plugins can be found in
> > trunk/KDE/kdepim/plugins/kmail/bodypartformatter in svn.
> >
> > I'm not aware of any other bodypartformatter plugins except for
> > those in kdepim/plugins/kmail/bodypartformatter.
>
> One more question,
> I know Kmail has  S/MIME support, but with the plugin, I want to
> generate an S/MIME message using my own algorithms.
> Do you think I can do it with this interface?

When S/MIME support was added to KMail it was indeed first added through 
a plugin. Soon afterwards the crypto plugin functionality was removed 
again and S/MIME was integrated more directly into KMail. In 
kdepim/certmanager/lib there are still a few files called cryptplug*.*, 
but those do no longer represent a plugin interface.

You'll have to hack KMail to add support for another crypto backend. 
OTOH, this shouldn't be that difficult to do because apart from an 
OpenPGP backend and an S/MIME backend a third backend for Chiasmus 
(some proprietary crypto thingy) was integrated in KMail.


Regards,
Ingo

_______________________________________________
KMail developers mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kmail-devel
signature.asc (application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQBIEPrTGnR+RTDgudgRAogdAJ9/WTYobjdbVX4jScy3zTKhWTzpvQCeKbZQ
QSwpkwFqA8/J2Q98wJNrSR0=
=NOYE
-----END PGP SIGNATURE-----