PHP Classes

Problem with outlook implementation

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Problem with outlook implementation  >  (Un) Subscribe thread alerts  
Subject:Problem with outlook implementation
Summary:Problem with outlook implementation of line break
Messages:2
Author:yasir
Date:2008-03-27 06:49:05
Update:2008-03-27 07:50:12
 

 


  1. Problem with outlook implementation   Reply   Report abuse  
Picture of yasir yasir - 2008-03-27 06:49:06
Problem with out look handling..
the parses tries to replace the line break with closing tag and br whcih causes following to be ,
<DIV dir=ltr align=right><SPAN class=541322406-27032008><FONT face="Arial Black"
color=#0000ff size=2>Testing </FONT></SPAN></DIV>

<div dir="ltr" align="right"><span class="541322406-27032008"><font face="Arial Black"><br>
color=#0000ff size=2&gt;Testing </font></span></div><br>

what should i do to restrict parser to doing it .. as i am using html .. line breaks doesn't effects html code.

  2. Re: Problem with outlook implementation   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-03-27 07:50:12 - In reply to message 1 from yasir
There seems to be some confusion. The MIME parser class does not alter the message part bodies. Maybe you are using the PHP function nl2br() to display the message body parts and that replaces line breaks with <br> tags.