Log in

View Full Version : Email Form



jandjweb
11-04-2007, 07:09 PM
I need to make this form send the information typed in to an email account, how can i do this?


<!--webbot bot="SaveResults" U-File="Login Form" S-Format="HTML/BR" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Builtin-Fields="" startspan S-Email-Format="TEXT/PRE" S-Email-Address="justin@chattnews.com" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Loginall.Info New User Account" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
<br />
<fieldset name="Group1">
<legend class="style6" style="width: 151px; height: 19px"><span class="style5">
User Request </legend>
<br />
</span>
<span class="style1"><span class="style5">NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>
</span><span class="style5"><input name="Text1" type="text" style="width: 220px" /><br />
<br />
</span>
<span class="style1"><span class="style5">EMAIL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>
</span><span class="style5"><input name="Text2" type="text" style="width: 223px" /><br />
<br />
</span>
<span class="style1"><span class="style5">USERNAME&nbsp;&nbsp; </span> </span>
<span class="style5">
<input name="Text3" type="text" style="width: 223px" /><br />
<br />
</span>
<span class="style1"><span class="style5">PASSWORD&nbsp; </span> </span>
<span class="style5">
<input name="Password1" type="password" style="width: 222px" class="style2" /><br />
<br />
</span>
<span class="style1"><span class="style5">CONFIRM<br />
PASSWORD&nbsp; </span> </span>
<span class="style5">
<input name="Password2" type="password" style="width: 223px" /><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="Submit1" type="submit" value="submit" /></span></fieldset><br />
<br />

</div>

djr33
11-04-2007, 07:29 PM
You are entirely missing a <form> element.

For this to work, your inputs must be within <form ...> [here] </form> tags.

Set the action of the form (<form action="...") to where you want to send the data, and the method="post", or "get", if you'd rather have it displayed in the address bar.

There have been a number of threads on here you can find through the search feature so I won't go into too much detail but you have 3 options:

1. Use action="mailto:e@mail.com" -- worst but easiest option. It requires the user send an email to you based on the form. Won't work in many cases and not professional.

2. Use a "free form mailer" (google that). That will give you a page to send the data (through the action) and send out an email from it.

3. Use/learn PHP and write a form script yourself. It certainly isn't impossible, but you do need to learn some PHP scripting.