Re: HTML Email
| From: | Christian Goetze | Date: | Mon, 19 Jun 2000 22:10:52 +0000 |
| Subject: | Re: HTML Email | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2250@lists.php.net to get a copy of this message | ||
Try putting newlines between the header fields.
--
cg
On Mon, 19 Jun 2000, Yoed Anis wrote:
> Hello Guys,
>
> I've been looking around the web for a solution to a problem I'm trying to
> solve... unfortunately I've only been able to find the questions, not the
> answers.
>
> I'm trying to make PHP send out an e-mail coded in HTML (so I can have
> things like nice fonts and tables in it).
> I've been using the mail function, and I've been trying to pass the
> following variables via the header:
> $mailHeaders = "From: $email";
> $mailHeaders .= "MIME-Version: 1.0";
> $mailHeaders .= "Content-Type: text/html";
> $mailHeaders .= "X-Header-Type: HTML";
>
> Yet it doesn't seem to work.
> If anyone has experience in getting PHP to send HTML email, some insight
> would be appreciated. :-)
>
> Best Regards,
> Yoed
> just some another clueless IT...
>
> P.S.
> please reply directly to me as well as the list.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>