[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: composing html messages (concerning boundaries)
From: Edwin Schepers <yez () home ! nl>
Date: 2004-02-05 21:55:18
Message-ID: 200402052255.18325.yez () home ! nl
[Download RAW message or body]
On donderdag 05 februari 2004 22:42, Edwin Schepers wrote:
> This message is in MIME format.
>
>
Hmm, I think my kmail doesn't work so nicely anymore :-(
On Monday 02 February 2004 09:35, you wrote:
> Hi Edwin,
>
Hi Don,
I have an issue to create a correct message. Could you help me out ?
The issue is ( I'm creating hml messages) :
In composeMessage, I create a bodyPart that looks like :
test
[Attachment #3 (text/html)]
<html><head><meta name="qrichtext" content="1" /></head><body
style="font-size:12pt;font-family:helvetica">
<p><span style="font-weight:600">test</span></p>
</body></html>
--Boundary-00=_6SrIABJ+7L2j0fN
Content-Type: multipart/alternative;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
test
[Attachment #6 (text/html)]
<html><head><meta name="qrichtext" content="1" /></head><body
style="font-size:12pt;font-family:helvetica">
<p><span style="font-weight:600">test</span></p>
</body></html>
--Boundary-00=_6SrIABJ+7L2j0fN--
This would almost be a correct message, but I think the only thing missing is
the boundary --Boundary-00=_6SrIAtGxBYXT7x4 just below Content-Type:
multipart/alternative; . Is my assumption correct ? If yes, how can this
boundary be added ?
The second problem is when I do not have attachments. In this case I can't use
addBodyPart() because this function adds a multipart/alternative part.
I think I can use setBody(), but how can I set this boundary
--Boundary-00=_6SrIAtGxBYXT7x4 in the header ?
Regards,
Edwin
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic