hola, me pueden decir en que estoy mal porfavor, y es que no me llegan los mensajes a mi formulario de email en flash con php..
este es el php.
ESTE LO TENGO COLOCADO EN UN LUGAR QUE SE LLAMA MAIL.PHP
<?php
//Type the receiever's e-mail address
$emailAddress = "[email protected]";
//Type your Site Name
$siteName = "Magic";
$contact_name = $_POST['name'];
$contact_email = $_POST['email'];
$contact_subject = $_POST['subject'];
$contact_message = $_POST['message'];
if( $contact_name == true ) {
$sender = $contact_email;
$receiver = $emailAddress;
$client_ip = $_SERVER['REMOTE_ADDR'];
$email_body = "The Name Of The Sender: $contact_name \nEmail: $sender \n\nSubject: $contact_subject
\n\nMessage: \n\n$contact_message \n\nIP ADDRESS: $client_ip \n\n$siteName";
$emailAutoReply = "Hi $contact_name, \n\nWe have just received your E-Mail. We will get
in touch in a few days. Thank you! \n\n$siteName ";
$extra = "From: $sender\r\n" . "Reply-To: $sender \r\n" . "X-Mailer: PHP/" . phpversion();
$autoReply = "From: $receiver\r\n" . "Reply-To: $receiver \r\n" . "X-Mailer: PHP/" . phpversion();
mail( $sender, "Auto Reply: $contact_subject", $emailAutoReply, $autoReply );
if( mail( $receiver, "New E-Mail - $contact_subject", $email_body, $extra ) ) {
echo "success=yes";
} else {
echo "success=no";
}
}
?>
<html>
<title>info_form</title>
<body bgcolor="#282E2C">
<div align="center" style="margin-top:60px;color:#FFFFFF;font-size:11px;font-family:Tahoma;font-weight:bold">
Your message was sent. Thank you. ESTE ESTA COLOCADO EN EL FLASH....
</div>
</body>
</html>
<script>resizeTo(300, 300)</script>
I ESTE ES EL DE FLASH...
onClipEvent (load)
{
this.t.v = _root.contacts_txt9;
}
on (rollOver)
{
this.gotoAndPlay("s1");
}
on (rollOut)
{
this.gotoAndPlay("s2");
}
on (release)
{
_parent.loadVariables("mail.php", "POST");
_parent._parent.gotoAndStop(2);
}
EL DETALLE ES QUE CUANDO LE DOY ENVIAR, ME DICE QUE SE HA MANDADO PERO NO ME LLEGA NADA, MI SERVIDOR SI SOPORTA ENVIOS DE MAIL CON PHP.
GRACIAS POR SU TIEMPO CHAVOS..