Thank you!



"; # how the message will show in the email # you can reorder these how you wish or modify the message itself to your liking # just be sure and leave the $variables in tact $msg2 = "Name: $Name\nCompany: $Company\nAddress: $Address\nTitle: $Title\nEmail: $Email\nPhone: $Phone\nFax: $Fax\nComments: $Comments"; if($_SERVER['REQUEST_METHOD'] == "POST") { mail("$toemail[$Interest]", "$subjectheader $title[$Interest]" , "$msg2", "From: andrew.cotter@somersetcapital.com \nReply-To: $email"); $_SESSION['action'] = $_POST['action']; if ($redirecturl != "") { header("Location: $redirecturl"); } else { echo "
$finishedtext

"; } $mailsent = 1; } else { ?> Somerset Capital Group ' . "\n"; // print_r($_REQUEST); // echo '' . "\n"; ?>



Thank you for submitting the form."; unset($_SESSION['action']); }else{ echo "
Name:
Company:
Address:
Title:
E-mail:
Telephone:
Fax:
Other Questions/
Comments
"; } ?>