Did you put this in your headers?

MIME-Version: 1.0\r\nContent-Type: text/html; charset=iso-8859-1\r\n


<?
mail("[EMAIL PROTECTED]","HTML
TEST","<HTML><BODY><B>Test</B></BODY></HTML>","MIME-Version:
1.0\r\nContent-Type: text/html;
charset=iso-8859-1\r\nFrom:[EMAIL PROTECTED]");
?> 

Sincerely 
 
berber 
 
Visit the Weber Sites Today, 
To see where PHP might take you tomorrow. 
PHP code examples : http://www.weberdev.com 
PHP & MySQL Forums : http://www.weberforums.com
Learn PHP & MySQL Playing Trivia : http://www.webertrivia.com
PHP Web Logs : http://www.weberblogs.com 
Web Development Index http://www.weberindex.com 
Web Templates http://www.webertemplates.com
Search for PHP Code from your browser http://toolbar.weberdev.com 
Free Uptime Monitor : http://uptime.weberdev.com
PHP content for your site : http://content.weber-sites.com

-----Original Message-----
From: Peter Lauri [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 14, 2006 6:52 AM
To: php-general@lists.php.net
Subject: [PHP] Complications when sending HTML email

Best group member,

I am sending HTML email with PHP. I use the example code in the manual to
try, and the email is sent. However, it is not decoded correctly in my
Outlook. I checked thru webmail clients, and then it work. I thought it was
my Outlook that was not correct, but I am receiving HTML emails from other
sources that are displayed correctly. In the bottom I have the email that is
sent to me, it is displayed like this in Outlook.

Is there maybe something I have to add in the header to get it to work with
Outlook?

Cheers,
Peter



-----Original Message-----
From: 
Sent: Tuesday, February 14, 2006 11:31 AM
Subject: Birthday Reminders for August

Content-type: text/html; charset=iso-8859-1

To: Peter <[EMAIL PROTECTED]>
From: Testserver <[EMAIL PROTECTED]>



                        <html>
                        <head>
                        <title>Birthday Reminders for August</title>
                        </head>
                        <body>
                        <p>Here are the birthdays upcoming in August!</p>
                        <table>
                        <tr>
        
<th>Person</th><th>Day</th><th>Month</th><th>Year</th>
                        </tr>
                        <tr>
        
<td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
                        </tr>
                        <tr>
        
<td>Sally</td><td>17th</td><td>August</td><td>1973</td>
                        </tr>
                        </table>
                        </body>
                        </html>
                        

--
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

Reply via email to