You need to set an encoding and encode the body see: http://www.php.net/manual/en/function.imap-8bit.php
**You will need to add the headers for this plus encode** Timothy Hitchens (HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -----Original Message----- > From: Tom Rogers [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 9 January 2003 9:49 AM > To: Philipp Hartmann > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] HTML email that generates "!"s - any ideas? > > > Hi, > > Thursday, January 9, 2003, 7:31:35 AM, you wrote: > PH> Hi everyone, I am new to this list, so this is my first post. > > PH> I am trying to sen dan HTML email, and so far I got everything > PH> running, except for one very odd problem. > > PH> 1.) I am setting up all my variables within the .php Script. > PH> 2.) I generate my HTML email > PH> 3.) I am outputting the email to the browser and send it to myself > > -->> Now here comes the problem: > > PH> In the browseroutput the text looks like I want it to be. In the > PH> email however, there are several EXCLAMATION MARKS ("!") added to > PH> the code (and therefore the body). > PH> How can this happen?? Is there some trick I have missed? > The exclamation > PH> marks are > PH> positioned within the email according to the amaount of > characters I submit > PH> with the > PH> email. > > PH> I have set up a simple page where you can view the .php file, the > PH> output and the email. > > PH> http://www.gsdh.org/pleasehelp/index.html > > PH> If anyone of you could spare the time, I would be really > gratefull > PH> as I have to finish this but am stuck! :( > > PH> Thans again, > PH> Philipp > > What happens if you paste the php output directly into your mailer ? > > -- > regards, > Tom > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php