Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/04/2008, 13:18
Avatar de vanessa_1984
vanessa_1984
 
Fecha de Ingreso: marzo-2008
Mensajes: 22
Antigüedad: 16 años
Puntos: 0
Re: [B]Problemas con el servidor al enviar mail desde flash[/B]

on (release) {
if (this.length<1) {
return false;
}
for (i=0; i<this.length; i++) {
code = this.charCodeAt(i);
if (this.charAt(i) != " " && code<48 || code>57) {
return false;
}
}
return true;
String.prototype.isNumbers = function() {
if (this.length<1) {
return false;
}
for (i=0; i<this.length; i++) {
code = this.charCodeAt(i);
if (this.charAt(i) != " " && code<48 || code>57) {
return false;
}
}
return true;
};
if (!nombre.length) {
alertas = "Escriba su nombre";
} else {
if (!email.length || _root.email.indexOf("@") == -1 || email.indexOf(".") == -1) {
alertas = "Escriba su mail correctamente";
} else {
if (!mensaje.length) {
alertas = "Escriba su mensaje";
} else {
nombre = nombre;
email = email;
mensaje = mensaje;
alertas = "MENSAJE ENVIADO !!! ME PONDRE EN CONTACTO CON USTED EN LA MAS BREVEDAD POSIBLE. GRACIAS";
loadVariablesNum("mail.php",2,'POST');
}
}
}
}

Ami antes me pasaba lo mismo que te pasaba ati y con este script en el boton enviar me fue de lujo poniendo los respectivos nombres a los campos de formulario.
Luego el php asi
<?
$subj= "elnombredetupaginaporejemplo";
$encabezado="De: $nombre<$email>\n";
$conte="Datos recogidos desde TU WEB\n";
$conte.="Nombre: $nombre\n";
$conte.="Correo electrónico: $email\n";
$conte.="Comentarios:\n $mensaje\n\n";
$mail="elemailadondequieres@quesemandeelformulario ";
mail($mail,$subj,$conte,$encabezado);
?>

De esta forma deberia funcionarte 100x100 si no te funciona o lo que sea hazmelo saber vale?
Espero averte ayudado