writing a plugin to change To:, From:, CC:, BCC: and Reply-To

Jos van den Oever jos at vandenoever.info
Sat Jul 10 18:36:41 BST 2021


Hello all,

I'd like to make it possible to change header information when replying to 
mail. E.g. if i reply to a mail addressed to <keyword at mydomain>, then I'd like 
the From field to be changed to <keyword at mydomain>.

Or in some cases, I'd like to automatically set Reply-to.

To create this ability I implemented a MessageComposer::PluginEditor, but I 
cannot figure out how to read the 'Reply-To' from the composer window, nor can 
I figure out how to add CC: or set the Reply-To to a different value.

Can you give me a pointer?

Best regards,
Jos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20210710/69710e07/attachment.sig>


More information about the kde-pim mailing list