Reply to Re: Using mail() for HTML bodies.

Your name:

Reply:


Posted by Lars Eighner on 10/12/07 21:45

In our last episode,
<1192224985.050093.163490@v23g2000prn.googlegroups.com>, the lovely and
talented jodleren broadcast on comp.lang.php:

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

Tried to put html in e-mail. That is wrong. It can be done, but it is a
good thing you don't know how.

--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 465 days to go.
What do you do when you're debranded?

[Back to original 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

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