Código PHP:
Ver original- ;-  Whether or not to  define-  the various  syslog-  variables  (- e .- g . $LOG_PID,
 
- ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In 
-   
- ; For Win32 only. 
- SMTP = localhost 
- smtp_port = 25 
-   
- ; For Win32 only. 
- ;sendmail_from = me@example.com 
- sendmail_from = webmaster_web@hotmail.es 
- ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i"). 
- ;sendmail_path = 
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\AppServ\www\desde_cero\contactar.php on line 27  
 Código PHP:
    <?php
$aviso = "";
if (($_POST['email'] != "") || isset($terminos)) {
    $email = "[email protected]";
    $subject = "Contacto";
    $mensaje = "---------------------------------- \n";
    $mensaje.= "            Contacto               \n";
    $mensaje.= "---------------------------------- \n";
    $mensaje.= "NOMBRE:   ".$_POST['nombre']."\n";
    $mensaje.= "APELLIDOS:   ".$_POST['apellidos']."\n";
    $mensaje.= "EMPRESA:  ".$_POST['empresa']."\n";
    $mensaje.= "NIF/NIE:    ".$_POST['nie']."\n";
    $mensaje.= "EMAIL:    ".$_POST['email']."\n";
    $mensaje.= "TELEFONO: ".$_POST['telefono']."\n";
    $mensaje.= "FECHA:    ".date("d/m/Y")."\n";
    $mensaje.= "HORA:     ".date("h:i:s a")."\n";
    $mensaje.= "IP:       ".$_SERVER['REMOTE_ADDR']."\n\n";
    $mensaje.= "---------------------------------- \n\n";
    $mensaje.= $_POST['mensaje']."\n\n";
    $mensaje.= "---------------------------------- \n";
    $mensaje.= "Enviado desde http://www.////contacto.php \n";
    $headers = "From: ".$_POST['email']."\r\n";
/* probando con esto */
}
else { $aviso = "Rellena todos los campos y acepta los Términos"; }
/* original */
if (mail($email, $subject, $mensaje, $headers)) { $aviso = "Su mensaje fue enviado correctamente"; } 
 
?>       aver lo tengo asi... pero me tira este error....  
[URL="http://riotercero.sytes.net/desde_cero/contactar.php"]http://riotercero.sytes.net/desde_cero/contactar.php[/URL]