[Evolution-hackers] Help request: Mime v1.0 from char* to CamelMimeMessage*



I do have a char* that includes a Mime message like this (i mixed it up a bit to remove the original message.)

Now i want to create this message into a CamelMimeMessage.

Does there exist a function for that operation? Or how do i do it otherwise?

Subject: test

From: =?us-ascii?Q?Test_Henk?= <t henk testmail xyz>

To: =?us-ascii?Q?Test_Piet?= <t piet testmail xyz>

Date: = Wed, 7 Jun 2006 17:37:14 +0200

Mime-Version: 1.0

Content-Type: multipart/mixed;

boundary="=_GaLxasdhkjahoiquerjafdljsfpsjfoweblablabla+"

Message-Id: <vmime 4486f2aa 32fa d07blablablabla linux site>

This is a multi-part message in MIME format.

------=_NextPart_000_001E_01C68A46.AE140810

Content-Type: multipart/alternative;

boundary="----=_NextPart_001_001F_01C68A46.AE140810"

------=_NextPart_001_001F_01C68A46.AE140810

Content-Type: text/plain;

charset="US-ASCII"

Content-Transfer-Encoding: 7bit

Dag Serjan,

Ik moet me helaas afmelden voor morgenavond - dat gaat dus niet door. Ik

neem z.s.m. weer contact met je op voor een nieuwe afspraak.

Met vriendelijke groet,

Hans

<mailto:directie website xyz> directie website xyz

------=_NextPart_001_001F_01C68A46.AE140810

Content-Type: text/html;

charset="US-ASCII"

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD><TITLE id=3DridTitle>Leeg</TITLE>

<META http-equiv=3DContent-Type content=3D"text/html; =

charset=3Dus-ascii">

<STYLE><!-- body { font-family: Arial, Helvetica; font-size: 10pt; =

color: #000000; margin-top: 25px; margin-left: 25px; } P.msoNormal, =

LI.msoNormal { font-family: Helvetica, "Times New Roman"; font-size: =

10pt; margin-top: 0px; margin-left: 0px; color: "#ffffcc"; } --></STYLE>

<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR></HEAD>

<BODY id=3DridBody background="">

<DIV><SPAN class=3D843592413-07062006><FONT face=3DVerdana>Dag=20

Serjan,</FONT></SPAN></DIV>

<DIV><SPAN class=3D843592413-07062006><FONT=20

face=3DVerdana></FONT></SPAN>&nbsp;</DIV>

<DIV><SPAN class=3D843592413-07062006><FONT face=3DVerdana>Ik moet me =

helaas=20

afmelden voor morgenavond - dat gaat dus niet door. Ik neem z.s.m. weer =

contact=20

met je op voor een nieuwe afspraak. </FONT></SPAN></DIV>

<DIV>&nbsp;</DIV>

<DIV align=3Dleft><FONT face=3DVerdana>Met vriendelijke =

groet,</FONT></DIV>

<DIV><FONT face=3DVerdana></FONT>&nbsp;</DIV>

<DIV><FONT face=3DVerdana>Hans</FONT></DIV>

<DIV><FONT face=3DVerdana></FONT>&nbsp;</DIV>

<DIV><FONT face=3DVerdana>asdasdqweqwe</FONT></DIV>

<DIV><FONT face=3DVerdana>asdasdsad</FONT></DIV>

<DIV><FONT face=3DVerdana>tsja Schagen</FONT></DIV>

<DIV><FONT face=3DVerdana>123</FONT></DIV>

<DIV><A href="" website xyz"><FONT =

face=3DVerdana=20

color=3D#808000>directie website xyz</FONT></A><FONT =

face=3DVerdana>=20

</FONT></DIV>

<P>&nbsp;</P></BODY></HTML>

------=_NextPart_001_001F_01C68A46.AE140810--

------=_NextPart_000_001E_01C68A46.AE140810

Content-Type: image/gif;

name="Achtergr Leeg.gif"

Content-Transfer-Encoding: base64

Content-ID: <843592413 07062006-02DF>

R0lGODlhLQAtAID/AP////f39ywAAAAALQAtAEACcAxup8vtvxKQsFon6d02898pGkgiYoCm6sq2

7iqWcmzOsmeXeA7uPJd5CYdD2g9oPF58ygqz+XhCG9JpJGmlYrPXGlfr/Yo/VW45e7amp2tou/lW

xo/zX513z+Vt+1n/tiX2pxP4NUhy2FM4xtjIUQAAOw==

------=_NextPart_000_001E_01C68A46.AE140810--



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]