estimados...tengo problemas con mi formulario de contacto..
los mails no se estan enviando...

tal vez tengo algun error en mi php....o en mi a.s..
si algfuien me puede ayudar porfa

el php:
<?
$to .=$_POST['[email protected]'];
$subject .= "mail desde pagina";
$correo .= $_POST['suemail'];
$msg .= "
Nombre: ";
$msg .= $_POST['sunombre'];
$msg .= "
Fono: ";
$msg .= $_POST['sutelefono'];
$msg .= "
E-mail: ";
$msg .= $_POST['suemail'];
$msg .= "
Mensaje: ";
$msg .= $_POST['sumensaje'];
mail($to, $subject, $msg, "From: $correo");
?>


el a.s:
String.prototype.isMail = function() {
if (this.indexOf("@")>0 && this.indexOf("@") == this.lastIndexOf("@")) {
if (this.lastIndexOf(".")>this.indexOf("@")+1 && this.lastIndexOf(".")<this.length-2) {
return true;
}
}
};
enviar_btn.onRelease = function() {
if (nombre_txt.text.length<2) {
salida_txt.text = "Porfavor ingresa tu nombre";
} else if (!email_txt.text.isMail()) {
salida_txt.text = "Porfavor ingresa tu email";
} else if (telefono_txt.text.length<2) {
salida_txt.text = "Porfavor ingresa tu telefono";
} else if (mensaje_txt.text.length<10) {
salida_txt.text = "Porfavor ingresa tu mensaje";
} else {
sunombre = nombre_txt.text;
sutelefono = telefono_txt.text;
suemail = email_txt.text;
sumensaje = mensaje_txt.text;
loadVariablesNum("form1.php", 0, "POST");
salida_txt.text = "Mensaje Enviado";
enviar_btn.enabled = false;
this._alpha = 20;
}
};
telefono_txt.restrict = "1234567890";