It works for me :)
I tested it before mailing you the answer.

I have no idea what could be causing the problem.

berber
 

-----Original Message-----
From: Peter Lauri [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 14, 2006 11:51 AM
To: 'Weber Sites LTD'; php-general@lists.php.net
Subject: RE: [PHP] Complications when sending HTML email

Does not work.

http://www.zend.com/zend/spotlight/sendmimeemailpart1.php?article=sendmimeem
ailpart1&kind=sl&id=3148&open=1&anc=0&view=1 tells me that I should put
'three newlines between the Content-Transfer-Encoding and the start of the
section.'

But still that does not work, hrm. Anyone with a simple html-example that
works fine with Outlook?

Best regards,
Peter Lauri


-----Original Message-----
From: Weber Sites LTD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 14, 2006 4:27 PM
To: 'Peter Lauri'; php-general@lists.php.net
Subject: RE: [PHP] Complications when sending HTML email

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

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