You are here: Using mail() for HTML bodies. « PHP Programming Language « IT news, forums, messages
Using mail() for HTML bodies.

Posted by jodleren on 10/12/07 21:36

Hi fellow

I read about this here, and I need a simple form to post and mail a
simple table (formatting) in HTML.
My message is somthing like: <html><body><table....

I have a header as this.

$headers = "From:".$_POST["v8"]."\r\n".
"To:sonnich@--hot.ee\r\n".
"MIME-Version: 1.0\r\n" .
"Content-Type: text/html;\r\n";;
if (mail('sonnich@--hot.ee', 'T&auml;idetud ankeet', $message,
$headers))

My problems:
the body remains plain text in Outlook Express.
>From is not visible
The &auml; remains as is in the header (should be ä)

Though my email is there twice, but the mail only once :-)

What do I dop wrong?

WBR
Sonnich

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация