Jump to content
Fórum Script Brasil
  • 0

porque Meu Fomulário Vai Apenas Para O Primeiro Email ?


Alexandre Bortoloci
 Share

Question

esse é um formulário em flash com script PHP... segue ele abaixo

<?php

       if (($sender_email == "") || ($sender_name == "") || ($message == "")) {
                header("Location: index.html");
                exit;
       }


       $recipient = "[email protected]"; "[email protected]"; "[email protected]"; "[email protected]"; "[email protected]"; "[email protected]"; "[email protected]"; "[email protected]"; //email recipiente
       $subject = "$sender_assunto\n";      //assunto da mensagem

       $mailheaders = "From: <$sender_email> \n";
       $mailheaders .= "Reply-To: <$sender_email>\n\n";

       $msg = "De:   $sender_name\n";
       $msg .= "Email: $sender_email\n";
       $msg .= "Assunto: $sender_assunto\n";
       $msg .= "Messagem:         $message\n\n";

       mail($recipient, $subject, $msg, $mailheaders) or die ("Impossivel enviar email!");

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
        <TITLE>flashy mail: send form</TITLE>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
    background-color: #CCCCCC;
}
-->
</style></HEAD>

<BODY TEXT="#000000">
<div align=center>

<p class=h2>Email enviado!</p>

<P>Obrigado, <?php echo "$sender_name"; ?> (<?php echo "$sender_email"; ?>), por ter enviado esta mensagem:</p>
<P><?php echo "$message"; ?></p>

<a href="http://www.vzan.com.br">Voltar
</a></div>

</body>
</html>

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Link to comment
Share on other sites

  • 0

Já tentei fazer isso mas ai o email não foi... ele diz isso " Impossivel enviar email! "

alguma outra sugestão ? :(

Link to comment
Share on other sites

  • 0
Link to comment
Share on other sites

  • 0

Aeeeeeee funcinou... valeu mesmo......

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.9k
    • Total Posts
      648.8k
×
×
  • Create New...