Hello,
I am new to programming and apologize to those who are way
advanced in this field. I hope to one day to be just the slightest
bit smarter in this every fast paced and advanced world.

The problem seems simple but i feel stupid! I set up a form
in the website yet when form is submitted the email/ or pop email
then extracts info and puts it into code like this....


[recipient=website.com&subject=Contact+Us+Form&redirect=http%3A%2F%2Fwww.website.com%
3E%0D%0A%0D%0A++++++++++++++%3C%2Ffont%3E+%3Cb%3E%3Cfont+size%3D&Name=test&Address
=test&City=t&State=&Zip=&Phone=&Email=&Area+of+Interest=select&Best+time+to+reach=&
Questions%2FComments=&Submit=Submit]

All i want is the info extracted sent in an email. Also so client does not see this
if they have a pop email. I cant seem to figure out what the issue is and tired of
beating my head in for the past two days and three hours...

CAN ANYONE HELP PLEASE?

here is the code.....Note-I changed actual website to plain website for conf reasons..

Any help is much appreciated

<FORM action="mailto:Contactus@Website.com" method="POST" onsubmit="return validateForm(this)">
  <font face="Times New Roman, Times, serif">
  <INPUT TYPE="HIDDEN" NAME="recipient" VALUE="Website.com">
  <INPUT TYPE="HIDDEN" NAME="subject" VALUE="Contact Us Form">
  <input type=hidden name="redirect" value="http://www.Website.com>

              </font> <b><font size="5" color="#009999"><i>Contact Promeric</i></font></b> 
              
      <table width="554" border="0" cellspacing="0" cellpadding="3
	  " align="left"><!--DWLayoutTable-->
        <tr> 
                  <td colspan=2> 
                    <div align="left"><font color="#0066FF"><b><font face="Arial, Helvetica, sans-serif" size="2" color="#003090">*Required 
                      Fields in Blue</font></b></font> </div>

                  </td>
          </tr>
                <tr> 
                  
          <td width="182"> 
            <div align="center"><b><font color="#003090" face="Times New Roman, Times, serif" size="3">*Name: 
                  </font></b></div></td>
                  
          <td width="360"> <font size="2" face="Arial, Helvetica, sans-serif" color="#003090"><b> 
            <input type="text" name="Name">
                    </b></font></td>
                </tr>

                <tr> 
                  
          <td> 
            <div align="center"><b><font color="#003090" face="Times New Roman, Times, serif" size="3">*Address: 
                  </font></b></div></td>

                  
          <td> <font size="2" face="Arial, Helvetica, sans-serif" color="#003090"><b> 
            <input name="Address" type="text" value="" size="25" />
                    </b></font></td>
                </tr>
                <tr> 
          <td> 
            <div align="center"><b><font color="#003090" face="Times New Roman, Times, serif" size="3">*City: 
                  </font></b></div></td>

                  
          <td> <p><font size="2" face="Arial, Helvetica, sans-serif" color="#003090"><b> 
              <input type="text" name="City" size="20">
  
                    </b> </font></p>
            <p align="left"><font size="2" face="Arial, Helvetica, sans-serif" color="#003090"><b><font face="Times New Roman, Times, serif" size="3">State:</font> 
                <input type="text" name="State" size="5">
                </b></font></p></td>
                </tr>
                <tr> 
                  
          <td> 
            <div align="center"><b><font color="#003090" face="Times New Roman, Times, serif" size="3">*Zip: 
                  </font></b></div></td>

                  
          <td> <font size="2" face="Arial, Helvetica, sans-serif" color="#003090"><b> 
            <input type="text" name="Zip" size="10">

                    </b></font></td>
                </tr>
                <tr> 
                  
          <td> 
            <div align="center"><b><font color="#003090" face="Times New Roman, Times, serif" size="3">*Phone: 
                  </font></b></div></td>
                  
          <td> <font size="2" face="Arial, Helvetica, sans-serif" color="#003090"><b> 
            <input type="text" name="Phone" size="20">

                    </b></font></td>

                </tr>
                <tr> 
                  
          <td> 
            <div align="center"><b><font color="#003090" face="Times New Roman, Times, serif" size="3">*E-mail 
                  Address: </font></b></div></td>
                  
          <td> <font size="2" face="Arial, Helvetica, sans-serif" color="#003090"><b> 
            <input type="text" name="Email">
                    </b></font></td>
                </tr>

                <tr> 
                  
          <td> 
            <div align="center"><font color="#009900" face="Times New Roman, Times, serif" size="3">Area 
                  of Interest</font><font color="#006600" face="Times New Roman, Times, serif" size="3">: </font></div></td>
                  
          <td> 
            <select name="Area of Interest">
                      <option>select</option>
					  <option>I need to Rent</option>
                      <option>I'm an Agent</option>

                      <option>I'm a Buyer</option>
                      <option>Residential</option>
					  <option>Commercial</option>
					  <option>Property Mgt</option>
					  <option>Relocation Services</option>
                      <option>P.R.O. Membership</option>

					  <option>Business Partner</option>
					  <option>Staff Member</option>
              </select>

                    <b><font size="2" face="Arial, Helvetica, sans-serif" color="#ffffff"><font size="3" face="Times New Roman, Times, serif" color="#000000"> 
                    &nbsp;</font></font></b></td>
                </tr>
                <tr> 
                  
          <td> 
            <div align="center"><font color="#009900" face="Times New Roman, Times, serif" size="3">Best 
                  time to reach: </font></div></td>

                  
          <td> <font size="2" face="Arial, Helvetica, sans-serif" color="#ffffff"><b> 
            <input type="text" name="Best time to reach" size="10">
            <font color="#009900">                    AM                    </font><font color="#ffffff">
                    <input type="radio" name="Am/Pm" value="Am">
                    <font color="#003300"> &nbsp;<font color="#009900">&nbsp;PM</font> </font></font><font color="#003300"> 
                    <input type="radio" name="Am/Pm" value="Pm">
                    </font>

                    </b></font></td>
                </tr>
                <tr> 
                  
          <td> 
            <div align="center"><font color="#009900" face="Times New Roman, Times, serif" size="3">Questions/Comments:</font><font color="#ffffff" face="Times New Roman, Times, serif" size="3">                </font></div></td>
                  
          <td><font color="#003090" size="2"><b> 
            <textarea name="Questions/Comments" cols="20"></textarea>

                    </b></font></td>

                </tr>
                <tr> 
                  <td colspan=2> 
                    <div align="center"><b><font color="#003399" face="Arial, Helvetica, sans-serif" size="2"><br>
                      <br>
                      <input type="submit" name="Submit" value="Submit">
                      <input type="reset" name="Reset" value="Reset">
                      </font></b></div>
                  </td>

                </tr>
        </table>
      <p><br>
      </p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>

      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>

      <p>&nbsp;            </p>
      </form>
      <FORM action="mailto:Contactus@website.com" method="POST" onsubmit="return validateForm(this)">
  <font face="Times New Roman, Times, serif">  </font><br>
</form><p align="left"><font size="1">&quot;</font></p>

mailto is only a hyperlink that opens up your default email application.

you probably should look into mail() function in PHP.

You should use PHP mail() function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.