|
|
|||
|
CHECK OUT WEATHER FOR NEXT MEET |
Tell us what you think about our web site, our organization, or \n
anything else that comes to mind. We welcome all of your comments and \n
suggestions.\n
\n
Copyright © 2009 NWDA. All rights reserved.\n";
}
else
{
if ($_POST["Subject"]=="(Other)")
{
$subject = $_POST["SubjectOther"];
}
else
{
$subject = $_POST["Subject"];
}
$EmailSubject = "Message from contact form on NWDA website: ".$_POST["MessageType"]." about ".$subject;
$message = "You have a message from the NWDA website.\n\nMessage Type: ".$_POST["MessageType"]."\n\nSubject: ".$subject."\n\nComments:\n".$_POST["Comments"]."\n\nThe Message came from ".$_POST["Username"]."\nEmail: ".$_POST["UserEmail"]."\nPhone: ".$_POST["UserTel"]."\nMobile: ".$_POST["UserFAX"]."\n";
if (!isset($_POST["ContactRequested"]))
{
$message .= "\nThey do not want to be contacted on this matter.\n";
}
mail( "sivad@blueyonder.co.uk", $EmailSubject, $message, "From: form@nwda.cc" );
$comments = str_replace("\n", "", $_POST["Comments"]); echo " Thank you for your comments\nMessage Type: ",$_POST["MessageType"]," \nSubject: ",$subject," \nComments: \n",$comments," \nYour Name: ",$_POST["Username"]," \nYour Email: ",$_POST["UserEmail"]," \nYour Home Number: ",$_POST["UserTel"]," \nYour Mobile Number: ",$_POST["UserFAX"]," \n"; if (isset($_POST["ContactRequested"])) { echo "We will be in touch as soon as possible. \n"; } echo " |
||
|
|||