hi Niek! i was not actually handling multipart messages, good you pointed it out... the class does something for multipart messages as off now... atleast it trashes them off (check for the new version at the site) http://www.phpclasses.org/browse/package/2977.html well i am too lazy to decode multipart messages as off now, i might do it when i have some time... thanks, vedanta On 3/22/06, Niek van Baalen <niek@xxxxxxxxxxxxxxxxx> wrote: > > Hi Vedanta, > > Good work. Just something I was waiting for. > But I have the following problem. > The body of a message did not show untill I added addslashes. > > $this->xml.="<description>".addslashes($message)."</description>"; > or do I have to use another function. > > I receive all kinds of newsletters that can contain all kind of > bodytext, like HTML etc. > > I still get XML-parserrors with content like > <META NAME=GENERATOR CONTENT=\"Claris Home Page 3.0\"> > because of = character. > > Do you know a solution? > > Greetings, > Niek van Baalen > Amsterdam > > - *~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~* Vedanta Barooah