Hi,
Ich versuche gerade, mit imap_body() emails auszugeben. funktioniert auch.
Aber da wird immer das alles angezeigt:
Code:
Von: Maik <xxx@xxx.de>
An: xxx@xxx.net
Datum: Sat, 19 Nov 2005 22:52:12 +0100
Betreff: w
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01C5ED5B.E316B450
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Text
----------------------------------------------
xxx
------=_NextPart_000_0000_01C5ED5B.E316B450
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DDE link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Text<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>----------------------------------------------</span><=
/font><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a =
href=3D"xxx">xxx</a></spa=
n></font><o:p></o:p></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0000_01C5ED5B.E316B450--
der text/html - teil wird so ausgegeben, weil bei der ausgebe ein drumrum ist!
Ich will jetzt aber bloß den html teil.
Habe schon google gefragt und so aber nix.
Kann mir bitte jemand helfen?
Habe auch was von image/jpeg usw gelesen.
Weil ich ein Bild in eine Mail eingefügt habe.
Kann ich das auch irgendwie so machen, dass das Bild angezeigt wird?
Denn da kam bloß so ein 100 zeilen langer code.
Mir scheint, die imap-funktionen hat noch niemand richtig kommentiert?!
Gruß
Maik
Lesezeichen