Re: HTML Email
| From: | Marko Vukovic' | Date: | Fri, 25 Aug 2000 09:41:26 +0000 |
| Subject: | Re: HTML Email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13634@lists.php.net to get a copy of this message | ||
"Thomas Edison Jr." wrote:
>
> Where exactly do you put this :
> Content-Type: text/html;
> charset=iso-8859-1;
> to send an html email? where is this header situated
> and how?
>
> Regards,
> T. Edison jr.
http://php.net/manual/function.mail.php
you must at least try to RTFM Thomas!
$message = "<html>\n<body bgcolor=\"#FFFFFF\">\nblahblahblah";
mail("thomasedisonjr@yahoo.com", "the subject", $message, "From:
webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/". phpversion() .
"Content-Type: text/html; charset=iso-8859-1\n");
give that a whirl.
--
Marko