i tried this once before so there my be 2 threads… sorry for that
hello all i have a bit of a prob, i have a contact form that works great for sending an email, but it dosnt work for the 1 email that it needs to.
the link is [url]http://www.mypacifichome.com/contact.php
and on submit is goes to this php code…
<?php
if(isset($_POST[‘submit’])) {
$to = “
$subject = $
$name_field = $_POST[‘firstname’];
$lastname_field = $
$phonenumber_field = $_POST[‘phonenumber’];
$email_field = $
$message = $_POST[‘message’];
$body = “From: $name_fieldn last: $lastname_fieldn E-Mail: $email_fieldn Phone: $phonenumber_fieldn Message:n $message”;
echo “Data has been submitted to $to!”;
mail($to, $subject, $body);
} else {
echo “Your email was not able to be received !”;
}
?>
the guy i made the form for isint getting any of the emails through the form, but i replaced his email with a couple of mine, and they worked.
i think it might be related to the fact that his hosting company is “swsoft PLESK” i have never seen this before, and it is a bit diffrent then anything i have ever used before,
his email is like any other websites, ending in his domain ****@mypacifichome.com can anyone think of why this is?
another way to send an email through a form? or something
anythings would help, thanks a lot for any help