Ver Mensaje Individual
  #12 (permalink)  
Antiguo 01/09/2010, 08:05
emstro
 
Fecha de Ingreso: julio-2009
Mensajes: 29
Antigüedad: 14 años, 8 meses
Puntos: 0
Respuesta: alguna solucion para llegar a inbox de hotmail?

<?php
extract($_POST);

// subject
$subject = 'NUEVO CONTACTO ';

// message
$message = '
<html>
<head>
<title>Nuevo contacto </title>
</head>
<body>
<p>NUEVO CONTACTO </p>
<table>
<tr>
<th>Nombre</th><td>'. utf8_decode($nombre).'</td>
</tr>
<tr>
<th>E-mail</th><td>'. utf8_decode($email).'</td>
</tr>
<tr>
<th>Empresa</th><td>'. utf8_decode($empresa).'</td>
</tr>
<tr>
<th>Mensaje</th><td>'. utf8_decode($mensaje).'</td>
</tr>
</table>
</body>
</html>
';

// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

// Additional headers
$headers .= 'To: [email protected]' . "\r\n";
$headers .= 'From: '.$email."\r\n";

// Mail it
$recibido = @mail("", $subject, $message, $headers);


?>