[Kde-pim] Inline images in KMail

Thomas McGuire thomas.mcguire at gmx.net
Tue Aug 5 00:09:35 BST 2008


Hi Kevin,

On Monday 04 August 2008 03:40:41 Kevin Gilbert wrote:
> This post is a continuation of one I made on kdepim-users. See
> http://lists.kde.org/?l=kdepim-users&m=121752067521772&w=2 for all the
> sordid history.

Stephen Kelly already wrote that the core image function should be added to 
KRichTextEdit / KRichTextWidget.

Once that is done, it needs KMail integration: When a user adds an inline 
image, it should be automatically added as an attachment, which is probably 
not too difficult. Same when removing inline images.
Then, when the message is composed (i.e. the MIME structure is created), the 
HTML of the message needs to properly refer to the attached images.
There is a RFC for how this has to done, see http://www.rfc-
editor.org/rfc/rfc2557.txt. You should probably also read [MIME1 to MIME5] 
which is referenced in that article, so you understand the MIME structure of 
an email.
I haven't read that RFC myself yet, though. Hopefully the only consequence for 
KMail would be to get the <img> tags right and to give the attachment proper 
names and/or MIME headers.

If you have any more questions or need pointers, ask!

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080805/8099ff01/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list