Hi all
The email form worked fine at one point, but after a PC format and reinstall, I cant for the life of my get it to work again. The process seems to work fine, tells me it’s sent the email etc and I get no parse errors. However I never get the email I’m sending from the form... Im using outlook for this, not great I know
Any ideas?
Thank in advance 🙂
[PHP
$firstname= $POST['firstname'];
$lastname= $POST['lastname'];
$company = $POST['company'];
$phone = $POST['phone'];
$email = $POST['email'];
$town = $POST['town'];
$select = $POST['select'];
$comments = $POST['comments'];
$referral= $_POST['referral'];
$msgbody = "Firstname: $firstname\nLastname: $lastname\nCompany: $company\nEmail: $email\nPhone Number: $phone\nSelect: $select\nTown: $town\nComments: $comments\nReferral: $referral";
@mail("xxxxxxxx@.com", "my web add: Contact Us Form", stripslashes($msgbody), "From: $email");
echo "Thank you <b>$firstname</b> <br>
<br>
We will reply to you at <b><i>$email</i></b> shortly.<br></p>";
echo "You are now being redirected... Please wait";
[/code]