Ver Mensaje Individual
  #8 (permalink)  
Antiguo 15/12/2010, 16:29
opzina
 
Fecha de Ingreso: marzo-2008
Mensajes: 1.020
Antigüedad: 16 años, 1 mes
Puntos: 21
Respuesta: Formulario php, jquery y CSS3

Cuando haglo click en enviar:

Firebug, en consola me muestra:

POST http://localhost/web/send_mail.php 200 OK 38ms

Respuesta y HTML: me muestran "FAILED" (a la derecha de esto: me muestra esto: jquery-latest.js (línea 6054))

200 OK

al final del archivo send_mail.php


if(mail($email_to, $subject, $message, $headers)){
echo 'sent'; // we are sending this text to the ajax request telling it that the mail is sent..
}else{
echo 'failed'; // ... or this one to tell it that it wasn't sent
}

aparece FAILED.

Pero en si no me muestra en rojo algun error...