Hola. Por favor, utiliza el Highlight que proporciona el foro.
Código PHP:
Ver original<?php do {
?>
<tr>
<td><?php echo $body = ObtenerNombreProducto($row_DatosCot['idProducto']); ?></td>
<td><?php echo $body1 = $row_DatosCot['intCantidad']; ?></td>
<td><a href="pro_del.php?recordID=<?php echo $row_DatosCot['intContador']; ?>">Eliminar</a></td>
</tr>
</table>
Cortas el
php do
en cuanto cierras las etiqueta.
Prueba con esto:
Código PHP:
Ver original<?php
// Datos del email
$nombre_origen = "Tu nombre / Nombre empresa, etc.";
//Asunto
$asunto = "EL ASUNTO DEL MAIL";
//El mail en sí
$mail = "
EL MENSAJE
";
//Formato HTML
$formato = "html";
//*****************************************************************//
$headers = "From: $nombre_origen <$email_origen> \r\n";
$headers .= "X-Priority: 3 \r\n";
$headers .= "MIME-Version: 1.0 \r\n";
$headers .= "Content-Transfer-Encoding: 7bit \r\n";
//*****************************************************************//
if($formato == "html")
{ $headers .= "Content-Type: text/html; charset=iso-8859-1 \r\n"; }
else
{ $headers .= "Content-Type: text/plain; charset=iso-8859-1 \r\n"; }
if (@mail($email_destino, $asunto, $mail, $headers)) { };
?>