Any body can help me?

I trying to send a mail in HTML Format, but I get it in text format.

The script I'm using is:

<?php 
PRINT "<CENTER>"; 
PRINT "Hello, $name."; 
PRINT "<BR><BR>"; 
PRINT "Thank you for using our mailing scrip"; 
PRINT "</CENTER>"; 
//phpinfo();

mail("$email1", "$subject", 
" $message  
My E-mail is $email2. 
Greetings from $name."); 
?>

The variable $message contains HTML Code like:

<META HTTP-EQUIV="Content-Type"
CONTENT="text/html;charset=iso-8859-1"><html></HEAD>
<BODY>Prueba de Mail. <TD>
<TABLE width=400>
<TBODY>
<TR>
<TD align=left>Name:<BR><INPUT maxLength=30 name=name
value=salvador><BR>Email you are senting to: <BR><INPUT maxLength=30
name=email1 [EMAIL PROTECTED]> 
<P>Your Email: <BR><INPUT maxLength=40 name=email2 value=sgil
WIDTH="20"> <INPUT name=canned_file type=hidden value=email3.html>
<BR>Subject:<BR><INPUT maxLength=30 name=subject value=canned>
<BR>Message: <BR><TEXTAREA cols=40 name=message rows=11>manda archivo
1</TEXTAREA> 
<P><INPUT type=submit value="Send it!"></html>
_________
Thank You...

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to