Contact Us form not sending information from form

I have wasted days trying to figure out what I need to do to get this form to work and I realize this is way over my head.   I am a novice with Dreamweaver and I am trying to figure out what the person before me did (who also was a novice).  I am very confused.  Can someone help me please?
Here is the html for the contact us page in question:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>Americanwestjets.com</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Designed and developed by Codify Design Studio - codifydesign.com"/>
        <link rel="stylesheet" type="text/css" href="Templates/Publish/stylesheet.css" />
        <script src="Templates/Publish/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
        <link href="Templates/Publish/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <meta name="Description" content="Americanwestjets.com
" />
    <meta name="Keywords" content="American West Jets, airlines, love, pacific, fun, vacation, free, discount" />
    <style type="text/css">
    body {
    background-color: #FF9;
    body,td,th {
    color: #006;
    #apDiv1 {
    position:absolute;
    left:42px;
    top:408px;
    width:643px;
    height:2px;
    z-index:1;
    background-color: #FF9900;
    overflow: auto;
    #apDiv1 {
    background-color: #306;
    background-image: url(images/%5Bwallcoo_com%5D_blue_sky_white_clound_010hdfn.jpg);
    background-repeat: repeat;
    border-top-width: thin;
    border-right-width: thin;
    border-bottom-width: thin;
    border-left-width: thin;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #933;
    .contentArea .container .contentleft #marketsurvey p label {
    color: #000;
    </style>
    <script type="text/javascript">
function MM_validateForm() { //v4.0
  if (document.getElementById){
    var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
    for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]);
      if (val) { nm=val.name; if ((val=val.value)!="") {
        if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
          if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
        } else if (test!='R') { num = parseFloat(val);
          if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
          if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
            min=test.substring(8,p); max=test.substring(p+1);
            if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
      } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
    } if (errors) alert('The following error(s) occurred:\n'+errors);
    document.MM_returnValue = (errors == '');
    </script>
    </head>
<body bgcolor="#FFFF99" text="#000066" link="#FF66FF" vlink="#00FF00" alink="#9933CC">
      <div class="bannerArea">
<div class="container">
                <div class="bannernav"></div>
                <div class="toplogo"></div>
                <div style="clear:both;"></div>
            </div>
        </div>
        <div class="topnavigationArea">
            <div class="container">
                <div class="topnavigationgroup">
                    <ul id="MenuBar1" class="MenuBarHorizontal">
                        <li><a href="index.html">Home</a>                        </li>
                        <li><a href="Reservations.html" class="MenuBarItemSubmenu">Reservation</a>
                          <ul>
                            <li><a href="flight schedule.html">Flight Schedule</a></li>
                          </ul>
                        </li>
                        <li><a href="Daily Savings.html">Daily Savings</a></li>
                    <li><a href="about us.html">About Us</a>                      </li>
                        <li style="border-right-style: solid;"><a href="contact us.html">Contact Us</a>                        </li>
                    </ul>
                </div>
                <div style="clear:both;"></div>
            </div>
        </div>
        <div class="contentArea">
            <div class="container">
                <div class="contentleft">
                    <h1>Contact Us: Market Survey</h1>
                    <p>Please complete the following form to receive a $50.00 coupon on your next flight with American West Jets! Don't miss out and let your friends and family know this amazing premiere limited time offer! </p>
                    <p> </p>
                      <form id="marketsurvey" name="marketsurvey" method="post" action="contact.php">
                    <p>First Name:
              <label for="first name"></label>
                        <input name="first name" type="text" id="first name" size="30" maxlength="30" />
                      </p>
<p>Last Name:                     
  <label for="last name"></label>
  <input name="last name" type="text" id="last name" size="30" maxlength="30" />
</p>
                      <p>Email Address:
                        <input name="email address" type="text" id="email address" size="40" />
                      </p>
                      <p> </p>
                      <p>Where do you fly most frequently?</p>
                      <p>
                        <label for="where do you fly"></label>
                        <label>
                          <input type="checkbox" name="CheckboxGroup2" value="checkbox" id="CheckboxGroup2_0" />
                          North America</label>
                        <br />
                        <label>
                          <input type="checkbox" name="CheckboxGroup2" value="checkbox" id="CheckboxGroup2_1" />
                        South America    </label><br />
                        <label>
                          <input type="checkbox" name="CheckboxGroup2" value="checkbox" id="CheckboxGroup2_2" />
                          Europe</label>
                        <br />
                        <label>
                          <input type="checkbox" name="CheckboxGroup2" value="checkbox" id="CheckboxGroup2_3" />
                          Asia</label>
                        <br />
                        <label>
                          <input type="checkbox" name="CheckboxGroup2" value="checkbox" id="CheckboxGroup2_4" />
                          Australia/South Pacific</label><br />
                        <br />
                      </p>
<p>How often do you fly?</p>
                      <p>
                        <label>
                          <input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_0" />
                          4 or more times per year
                        </label><br />
                        <label>
                          <input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_1" />
                          1-2 times per year</label>
                        <br />
                        <label>
                          <input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_2" />
                          Rarely</label>
                        <br />
                        <label>
                          <input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_3" />
                          Never</label>
                        <br />
                        <br />
                      </p>
<p>Which airline(s) do you usually fly with?</p>
<p>
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_0" />
    Air Pacific
  </label>
  <br />
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_1" />
    American</label><br />
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_2" />
    Delta</label>
  <br />
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_3" />
    Hawaiian</label>
  <br />
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_4" />
    Jet Blue</label>
  <br />
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_5" />
    Southwest</label>
  <br />
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_6" />
    United</label><br />
  <label>
    <input type="checkbox" name="CheckboxGroup1" value="checkbox" id="CheckboxGroup1_7" />
    Other</label>
  <label>
    <input name="other airlines" type="text" id="other airlines" size="70" maxlength="80" />
  </label>
  <br />
  <br />
</p>
                      <p>If adult tickets were for ages 17 and higher, would you bring your children with you on your vacations?</p>
                      <p>
                        <label for="children more often on trips"></label>
                        <label>
                          <input type="radio" name="RadioGroup3" value="radio" id="RadioGroup3_0" />
                          Yes, I would bring my children</label>
                        <br />
                        <label>
                          <input type="radio" name="RadioGroup3" value="radio" id="RadioGroup3_1" />
                          No, I would not bring my children </label>
                        <br />
                      </p>
<p>Would you subscribe for exclusive daily savings, coupons, and vacation packages via email?</p>
                      <p>
                        <label>
                          <input type="radio" name="RadioGroup4" value="radio" id="RadioGroup4_0" />
                          Yes, I would love to subscribe.</label>
                        <br />
                        <label>
                          <input type="radio" name="RadioGroup4" value="radio" id="RadioGroup4_1" />
                          No, I do not wish to subcribe at this time.</label><br />
                      </p>
<p>
  <input name="Submit" type="submit" id="Submit" onclick="MM_validateForm('first name','','R','last name','','R','email address','','R');return document.MM_returnValue" value="Submit" />
  <input type="reset" name="reset" id="reset" value="Reset" />
          </p>
<p>       </p>
                  </form>
                    <p> </p>
<p> </p>
              </div>
                <div style="clear:both;"></div>
            </div>
        </div>
        <div class="footerArea">
            <div class="container">
                <div class="copyright">&copy; 2011 American West Jets. All rights reserved.</div>
            </div>
        </div>
        <script type="text/javascript">
        <!--
        var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
        //-->
        </script>
    </body>
</html>

Sure - here it is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sendemail Script</title>
</head>
<body>
<!-- Reminder: Add the link for the 'next page' (at the bottom) -->
<!-- Reminder: Change 'YourEmail' to Your real email -->
<?php
$ip = $_POST['ip'];
$httpref = $_POST['httpref'];
$httpagent = $_POST['httpagent'];
$visitor = $_POST['visitor'];
$visitormail = $_POST['visitormail'];
$notes = $_POST['notes'];
$attn = $_POST['attn'];
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,".")))
echo "<h2>Use Back - Enter valid e-mail</h2>\n";
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
echo $badinput;
die ("Go back! ! ");
if(empty($visitor) || empty($visitormail) || empty($notes )) {
echo "<h2>Use Back - fill in all fields</h2>\n";
die ("Use back! ! ");
$todayis = date("l, F j, Y, g:i a") ;
$attn = $attn ;
$subject = $attn;
$notes = stripcslashes($notes);
$message = " $todayis [EST] \n
From: $visitor ($visitormail)\n
Additional Info : IP = $ip \n
Browser Info: $httpagent \n
Referral : $httpref \n
$from = "From: $visitormail\r\n";
mail("[email protected]", $subject, $message, $from);
?>
<p align="center">
Date: <?php echo $todayis ?>
<br />
Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> )
<br />
Attention: <?php echo $attn ?>
<br />
Message:<br />
<?php $notesout = str_replace("\r", "<br/>", $notes);
echo $notesout; ?>
<br />
<?php echo $ip ?>
<br /><br />
<a href="thankyou.html"> Next Page </a>
</p>
</body>
</html>
Thank you!

Similar Messages

  • I don't remember my security questions and I'm not in America now. I want to reset resurce email address but I can't have a phone call. Please send information from email, thank you.

    I don't remember my security questions and I'm not in America now. I want to reset resurce email address but I can't have a phone call. Please send information from email, thank you.
    <Email Edited by Host>

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.
    These are user forums. You are not speaking to Apple here. You should not put a valid email address in a forum message.

  • Hi all please i want reset security questions but not send email from apple to my email

    please help me hi all please i want reset security questions but not send email from apple to my email

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • TS3899 In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    Greetings,
    Questions:
    1. What version of the Mac OS are you running (Apple > About this Mac)?
    2. What version of the iOS are you running (Settings > About)?
    3. Do you use MobileMe/ iCloud or another server based sync solution like Google or Yahoo?
    4. Do other changes to synced information like Address Book content sync successfully back and forth?
    Based on your description it sounds like you have a 1 way sync issue.  Events sync fine between the iOS devices and fine from the computer to the iOS devices but not from the iOS devices to the computer.
    Try:
    Backup your computer and iOS devices before doing anything else:
    http://support.apple.com/kb/HT1427
    http://support.apple.com/kb/ht1766
    Ensure all the devices in use are fully up to date: Apple > Software Update / Settings > General > Software Update
    Make separate backups of critical data:
    Backup your computer Addressbook: http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    Backup your computer iCal: http://support.apple.com/kb/HT2966
    Reset syncing on your Mac: http://support.apple.com/kb/TS1627
    Reply back if that does not resolve your issue.
    Hope that helps.

  • TS3899 I still can not send email from my ipad but iPhone works on those accounts

    I still can not send email from my .mac account or a .comcast.net from my ipad. I how 2 people so far that has brought to my attention. We have exchange accounts setup on the ipads for work. I compare the settings from iPad to iPhone from my view it appears identical. I am looking at an iPad 2 and a Mini.
    I turned on and off the ipads and nothing really changed. The emails come into those accounts.
    Any suggestions?
    Thanks
    VickiHTC

    When you say you can't send...as in they never get the email?  Does the email appear to send?  Error message?  When?
    It may be more than one iPad that has a problem....

  • I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &T cellular data plan?

    I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &amp;T cellular data plan?

    I have a 1st gen iPhone that I just updated the software to 2.0.2
    Now whenever I press the mail icon it goes to the mail app for about 4 seconds, does nothing, no loading of folders, old messages, nothing.
    Then it reverts back to the home screen. Tried restarting, haven't tried restoring, thought I'd look here first.
    Anyone???

  • All of a sudden this morning my iphone will not send imessages from my phone number but only from my email address. When I go to the settings for my imessages to choose where they are coming from my phone number is greyed out....Is there a way to fix this

    All of a sudden this morning my iphone will not send imessages from my phone....

    Hi Chas869,
    Hmm, that is strange that your phone number is greyed out. There are a few things that we can try. First would be to turn iMessages off, then back on. See if you are able to select your phone number. Then if that doesn't work, turn iMessages back off, then reset the network settings....settings>general>reset>reset network settings, this will reboot the phone. Don't worry, it won't delete anything from the phone, it simulates a battery pull. Once the device comes back on, then turn iMessages back on. Keep us posted if that works!
    ErinW_VZW
    Follow us on Twitter @VZWSupport

  • I can receive but not send mail from remote wifi connections

    i cna recieve but not send email from remote wifi locations

    Check with your email provider for their smtp settings when using a remote Internet connection.

  • Since I upgraded to iOS 7.1.2, new Outlook calendar and contact items will not sync to/from my iOS devices - I am not using the iCloud, just sync'ing direct to/from laptop. Does anyone have a solution?

    Since I upgraded to iOS 7.1.2, new Outlook calendar and contact items will not sync to/from my iOS devices - I am not using the iCloud, just sync'ing direct to/from laptop. Neither direction seems to be working.
    Does anyone have a solution?

    Hello Happy-in-the-Mountains,
    Thanks for using Apple Support Communities.
    To troubleshoot this issue where you're unable to sync between your iPhone and Outlook, I'd like you to please follow the steps in the article linked to below.
    Troubleshooting Sync Services on Windows with Microsoft Outlook 2003, Outlook 2007, or Outlook 2010 - Apple Support
    Have a great weekend,
    Alex H.

  • Will turning iMessage of not send messages from iPhones through carrier

    IIf iMessage is off then will it not send messages from iPhones through carrier

    I have iMessage off on my iPhone and it sends and receives texts from everyone, including iPhone users, via the cellular carrier (i.e., SMS & MMS).

  • Send information from webpage to an email

    i am new to Java & Programming , i am creating a webpage & i Need to send information from webpage to an email without using the database,
    please help me out

    ??? You don't use a database to send emails, you use the JavaMail api.
    http://java.sun.com/products/javamail/

  • HT2500 without changing settings, iMac mail V4.6, 1)will not save password 2)takes accounts offline 3)will not except password 4)will not send mail from accounts every time.     What happen?

    without changing settings, iMac mail V4.6,  1)will not save password   2)takes accounts offline  3)will not except password   4)will not send mail from accounts every time.
        What happen?  How do I correct this?

    Hi Nuch1,
    I found an article that is contains very thorough Mail troubleshooting steps:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/TS3276
    You can use that article to figure out what part of the email "ecosystem" is the cause of the issue, and it can also help you attempt to resolve it.
    Hope that helps,
    David

  • IPad 2 will not send email from any app except from my actual email app

    IPad 2 will not send email from any app (eg camara, pdf edit apps, evernote ect.) except from my actual email app. It will send email from my email account in the mail app or online. Pls help :-/

    I had this problem
    I hit the power button and the round button at the same time and held it until it rebooted
    You get the black screen and the apple logo
    When that was done I want to the app and update screen and I was able to update my apps
    I suggest when you update stay on that screen until they all update
    I find it sometimes get stuck updating when I leave the screen as they are updating and do other things, but I could be wrong. It just seems to me that is when it happens.
    The reboot works and don't worry you don't lose anything when u reboot it's like shutting down a computer and powering it back up. Everything you had before will still be there.

  • Can not send photo from messages

    Can not send photo from messages

    I am having the same issue. I can email, but not text message a picture. I get "message send failure". I am at home, have my wifi working, have full towers and my MMS is on and so is cellular data. I have the 4s and have had if for less than a week. I have sent pictures before. Also my daughter has my old Iphone 4 and the texts I send to her are going as regular mms texts and not Imessages???

  • General users can not send emails from SAP themselves except sap_all user

    Dear experts ,
    General users can not send emails from T-CODE: SO00 themselves except the users
    which Assigned SAP_ALL Authorization Profiles .
    We hit SAPconnect trace Error : SO_OBJECT_MIME_GET Exception: 2 .
    No MIME Document Received. Error Code: UNKNOWN .
    How to can i solve the problem ?
    Thanks a lot in advance .

    Thanks for your Reply .
    I had set default domain in SCOT ,and email address in su01 .
    we can send email successful only SAP_ALL users .General users can not send emails from SAP themselves
    Is anybody else to help me ?
    Thanks a lot in advance .

Maybe you are looking for

  • Password for 192.168.1.1

    I find I don't always need to get into the home set up page,and it seems I had a password at one time.I don't remember having a password. Maybe it's soemthing window's vista made. Anyway. I need to help my son set up his x-box 360 elite, but I can't

  • How to not display the error message ?

    hi everybody, I would like to know if it is possible to not display the error message in BO XI R2 when I try to refresh my reports ? (like "the query bla bla does not fetch any data...") Thanks for your help, Mario

  • Advise needed - MS Office 2010 & Sync Issues

    My iPad 2 continues to refuse to sync contacts and calendars (also my iPhone!) with Office/Outlook Apple Support have been unable help. I am now considering moving to Windows 7 64-bit.  In addition I am looking to move from Office 2003 to 2010.  ie a

  • How to use '\' operator ?

    hi, i need to use '\' operator in a string, but not as escape character. since its not possible to use it, but is there any way. Deepa Datar

  • Reopening Scene Menu for DVD's with chapters is not possible

    Cannot reopen the scene menu after stopping play in a chapter and neither TV or DVD players help. How can I go back to scene menu direct without going through the main menu? Thanks for helping.