" />
Config error, Can not send email

"; } else { $mailto = $row['email']; $mailname=$_POST['name']; $mailtopic= $row['sitename'] . " Contact Form:" . $_POST['topic']; $mailaddress=$_POST['email']; $mailmessage=$_POST['message']; $headers = "From: $mailaddress\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $realmailmessage="You have a new mail from: $mailname - $mailaddress \nTopic: $mailtopic \nMessage: $mailmessage"; // spammer annoying me if ($mailaddress != "email@gmail.com") mail($mailto,$mailtopic,$realmailmessage, $headers); echo ("

Your message has been sent

"); } } else { echo "
"; echo "

Please fill in your details and question below - do remember to tell us what car you have:

"; echo "

"; echo "Your Name


"; echo "Your email address


"; echo "Subject


"; echo "Your message


"; echo "
"; echo "

"; } ?>