Outlook Mail -> "dreckige Tags"

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Outlook Mail -> "dreckige Tags"

    Ich baue gerade n Mailsystem für ne Community.. Geht soweit alles nur Wenn ich NICHT-PLAIN Mails von Outlook aus an mich schreibe bekomme ich so n Dreck hier:

    <html xmlns=3D"urn:schemas-microsoft-comfficeffice" =<br />
    xmlns:w=3D"urn:schemas-microsoft-comffice:word" =<br />
    xmlns=3D"http://www.w3.org/TR/REC-html40"><br />
    <br />
    <head><br />
    <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =<br />
    charset=3Dus-ascii"><br />
    <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"><br />
    <style><br />
    <!--<br />
    /* Style Definitions */<br />
    p.MsoNormal, li.MsoNormal, div.MsoNormal<br />
    {margin:0cm;<br />
    margin-bottom:.0001pt;<br />
    font-size:12.0pt;<br />
    font-family:"Times New Roman";}<br />
    a:link, span.MsoHyperlink<br />
    {color:blue;<br />
    text-decoration:underline;}<br />
    a:visited, span.MsoHyperlinkFollowed<br />
    {colorurple;<br />
    text-decoration:underline;}<br />
    span.E-MailFormatvorlage17<br />
    {mso-style-typeersonal-compose;<br />
    font-family:Arial;<br />
    color:windowtext;}<br />
    @page Section1<br />
    {size:595.3pt 841.9pt;<br />
    margin:70.85pt 70.85pt 2.0cm 70.85pt;}<br />
    div.Section1<br />
    {page:Section1;}<br />
    --><br />
    </style><br />
    <br />
    </head><br />
    <br />
    <body lang=3DDE link=3Dblue vlink=3Dpurple><br />
    <br />
    <div class=3DSection1><br />
    <br />
    <p class=3DMsoNormal><font size=3D2 face=3DArial><span =<br />
    style=3D'font-size:10.0pt;<br />
    font-family:Arial'>Cron-Test<o></o></span></font></p><br />
    <br />
    </div><br />
    <br />
    </body><br />
    <br />
    </html><br />

    Nun möchte ich aber auch nicht jegliches HTML da rausparsen...
    hat einer ne Idee ?

    Thx
    [font=verdana] '][' .... düdeldüdel dü

    Gruss Socket
    -----
    Nein, ich programmiere kein Clan-Script für Dich, nein, auch nicht wenn Deine Schwester gut aussieht!
    [color=darkblue]
    Socket Funktionen[/color]
    [/font]

  • #2
    htmlentities() oder strip_tags könnten dir da helfen.
    h.a.n.d.
    Schmalle

    http://impressed.by
    http://blog.schmalenberger.it



    Wichtige Anmerkung: Ich habe keine Probleme mit Alkohol ...
    ... nur ohne :-)

    Kommentar


    • #3
      Jo, strip_tags is die Lösung! Wusste nich das man da "allowable tags" angeben kann...

      Vielen Dank!
      [font=verdana] '][' .... düdeldüdel dü

      Gruss Socket
      -----
      Nein, ich programmiere kein Clan-Script für Dich, nein, auch nicht wenn Deine Schwester gut aussieht!
      [color=darkblue]
      Socket Funktionen[/color]
      [/font]

      Kommentar

      Lädt...
      X