Comments Daryl started the conversationJuly 11, 2017 at 2:43amMy mail form doesn't send any emails when updating to my address. Can you help?<?phpif(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); }?> 850Jelly repliedJuly 12, 2017 at 6:55pmHi, I see the mailTo still not your email address, maybe you can change it and try again?Best Regards,Jelly Team Sign in to reply ...
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);
}
?>
Hi,
I see the mailTo still not your email address, maybe you can change it and try again?
Best Regards,
Jelly Team