Hi to the list, i�m new...
well.. i do a Flash SendMail with variables and HTML format.....
it works.. but i insert variables in the HTML Message code.. and it don�t
works...
i don�t know why
the code is..
<?php
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$mensaje1 = '
<html>
<head>
<title>Birthday Reminders for August</title>
</head>
<body>
<p align="left"><font face="Arial, Helvetica, sans-serif"
size="2"><b><i>Sugerencias
y Comentarios mandado desde la página de
Telén</i></b></font></p>
<table width="60%" border="1" cellspacing="0" cellpadding="0"
bordercolor="#003333">
<tr>
<td width="30%"><font face="Verdana, Arial, Helvetica, sans-serif"
size="2">Nombre:</font></td>
<td width="70%">name</td>
</tr>
<tr>
<td width="30%"><font face="Verdana, Arial, Helvetica, sans-serif"
size="2">Asunto:</font></td>
<td width="70%"><?php echo $subject; ?></td>
</tr>
<tr>
<td width="30%"><font face="Verdana, Arial, Helvetica, sans-serif"
size="2">e-mail</font>:</td>
<td width="70%"><?php echo $from; ?></td>
</tr>
<tr>
<td width="30%"><font face="Verdana, Arial, Helvetica, sans-serif"
size="2">Comentario/Sugerencia</font></td>
<td width="70%"><?php echo $message; ?></td>
</tr>
</table>
</body>
</html>
';
?>
<?php
mail("[EMAIL PROTECTED]", "Sugerencias y Consultas", "$mensaje1",
$headers, "From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/" .
phpversion());
?>
The variables don�t work..
Thx if u can answer
P.D.: in normal format mail, the variables work..
--
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 PROTECTED]