Okay
  Public Ticket #1236637
Contact Form
Closed

Comments

  • Daryl started the conversation

    My mail form doesn't send any emails when updating to my address.  Can you help?


    <?php
    if(isset($_POST['email'])){
    $mailTo = "[email protected]";
    $subject = "mail from web";
    $body = "New message from web
    <br><br>
    FROM: ".$_POST['email']."<br>
    NAME: ".$_POST['name']."<br>
    COMMENTS: ".$_POST['message']."<br>";
    $headers = "To: Elixir <".$mailTo.">\r\n";
    $headers .= "From: ".$_POST['author']." <".$_POST['email'].">\r\n";
    $headers .= "Content-Type: text/html";
    //envio destinatario
    $mail_success =  mail($mailTo, utf8_decode($subject), utf8_decode($body), $headers);
    }
    ?>  


  •  840
    Jelly replied

    Hi,

    I see the mailTo still not your email address, maybe you can change it and try again?

    Best Regards,
    Jelly Team