You also need to add the text/html header, such as:
$headers = "Content-Type: text/html \r\n";
mail("[EMAIL PROTECTED]", "subject",$out , "From: website", $headers);
jen
> I read from a template, insert data and save it as a new file with html
> code...
> i want to send that file that is the sa
I read from a template, insert data and save it as a new file with html
code...
i want to send that file that is the same as $out via mail embedded in it...
i do
$fifi = fopen ('/'.$cursada.$cuatrimestre.'/'.$registronro.'.htm', "w");
$fp = $fifi;
fputs ($fifi, $out . "");
fclose ($fifi);
mail("[
Hello,
I use the mail function to send mail. On my development PC, I receive
the mail in HTML, with the high priority,...
I put the files on the production server, a linux machine, when I
receive the mail is not in HTML but in plain text, I don't see the high
priority. I receive that :
Content-
nt-Type: text/html; charset=iso-8859-1\n";
$message = "This is HTML!!!See!!!";
$subject = "TEST";
mail($recipient, $subject, $message, $headers);
-Original Message-
From: Mark Lo (3) [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 01, 2001 9:37 PM
To: PHP Mailing Li
Hi,
I would like to know how to send a mail in HTML format in Mail
Functions.
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL P
5 matches
Mail list logo