I've been using three contact forms on my website for a few days.
They've worked great until just recently. Now, each time I send an email from my website through one of my forms, the page that it loads after clicking the submit button, places this string of text inside:
/var/chroot/home/content/c/l/a/claytonbellmor/dead.letter... Saved message in /var/chroot/home/content/c/l/a/claytonbellmor/dead.letter
I have no idea why. Yet, I get the email that was sent.
Here's the corresponding php page that this text is placed on, and a marker to where in the code this text is appearing:
$to = "desk@claytonbellmor.com";
$subject = "FAQ Question";
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$message = "$name asks: " . $_REQUEST['question'] . "Email is $email";
$headers = "From: $email";
$sent = mail($to, $subject, $message, $headers, $name);
if($sent)
****message appears here****
{print ("<img src=\"../imgs/thanks.png\" alt=\"Thank you\" class=\"imgb\"/><br /><div class=\"smalltextb\">Your question was sent successfully.</div>"); }
else
{print ("<img src=\"../imgs/oops.png\" alt=\"Thank you\" class=\"imgb\"/><br /><div class=\"smalltextb\">There was a problem sending your quote. <br> Please hit the back button on your browser to re-send the form. <br>If the problem persists, please email me at desk@claytonbellmor.com</div>"); }
Any help would be great.