I’m having trouble with one of my contact forms on my site. I simply changed the Email Recipient to myself, but found that the forms was still directing mails to the old recipient.
[code=php]
<?php
$Intro = “Comment From Customer”;
$MessageToSend = “TEST”;
$RecipientEmail = “[email protected]”;
$headers = ‘From: [email protected]’ . “rn” .
‘Reply-To: [email protected]’ . “rn” .
‘X-Mailer: PHP/’ . phpversion();
mail($RecipientEmail,$Intro,$MessageToSend,$headers);
?>
This is just a test mail page I had put up to test the problem and this isn’t sending mail at all. This has been working on the site for the past few months and I have absolutely no idea why this is giving me a problem now, or why I cannot update the contact form to send mail to a different recipient.
The server we are on hasn’t been too reliable lately, so I can’t get the idea that this is something on their end out of my head. Is that possible or is it something I have done?