Re: html email
| From: | Omar Campos | Date: | Mon, 14 Oct 2002 18:51:15 +0000 |
| Subject: | Re: html email | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16373@lists.php.net to get a copy of this message | ||
just add headers to your mail.
Like this:
<?php
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "FROM: what ever \r\n"; // optional
$Subject = "Subject of the mail";
$msg = "Text of the mail <B>including html tags</B>";
$to = "mail@address.com
mail($to, $Subject, $msg, $headers);
?>
"Dennis Philpot" <dennis.philpot@freenet.de> escribió en el mensaje
news:20021014122341.88814.qmail@pb1.pair.com...
> Hi im quite a n00b, but i get some data out of the database and now i want
> to send an HTML - Email with all tag lik <font> <a href=""> ...
>
> someone knows help
>
> its an windows xp iis 5.0 with php install and an access db
>
> greetz
>
> Dennis
>
>