I'm not sure how you would do it, but I think you need to set the content
type = text/html
----- Original Message -----
From: "petrol" <pbarta@k...>
To: "professional php" <pro_php@p...>
Sent: Monday, March 12, 2001 10:24 AM
Subject: [pro_php] Sending HTML type mail
> Hi all,
>
> I wrote a small programm which sends a HTML file as the body of an e-mail.
> The addresses come from a mysql table. My problem is that most of the e-
> mail clients show only the mail source.
> Is it possible to set somehow the type of the mail for displaying it in
> HTML format?
>
> The source is:
> while (list($id,$emil) = mysql_fetch_row($query))
> {
> mail( $emil,$subject,$body,"from:$from");
> }
> $body is the HTML file.
>
> I know that, there must be some more parameters also for setting the type!
>
>
> Thanks: Peter Barta