SendMail Problem 2 Parte Casi Resuelto!! Plis helpme!
| From: | BoKeTeRo | Date: | Mon, 21 Jan 2002 00:33:00 +0000 |
| Subject: | SendMail Problem 2 Parte Casi Resuelto!! Plis helpme! | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-18046@lists.php.net to get a copy of this message | ||
bueno
ya esta todo funciona correctamente..
Lo que sucede es que si en el mensaje insertan demasiado texto la tabla se
expande hacia la derecha....... y no es como una page HTML que respeta los
bordes
no tieene brake line..
nose me ocurre que hacer...
<?php
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$de."\r\n";
$headers .= "Reply-To: ".$de."\r\n";
$headers .= "Cc: gimenezblanco@fibertel.com.ar\r\n";
$msg = '
<html>
<head>
<title>Birthday Reminders for August</title>
</head>
<body>
<table width="489" border="1" cellspacing="0"
cellpadding="0" bordercolor="#003333">
<tr>
<td width="139">Nombre</td>
<td width="344">' .$nombre. '</td>
<tr>
<td width="139">Asunto</td>
<td width="344">' . $sujeto . '</td>
<tr>
<td width="139">Mensaje:</td>
<td width="344">' . $mensaje . '</td>
<tr>
<td width="139">E-mail</td>
<td width="344">' . $de . '</td>
</table>
</body>
</html>
';
mail("boketero@fibertel.com.ar", "Sugerencias y Consultas", "$msg",
$headers);
?>