I will see if I can get the code posted soon.... Until then:
We just need to send an email.
Hosting is shared hosting with GoDaddy. It is Windows Hosting, but I am not sure of the email program.
Main Topics
Browse All TopicsI have almost zero ASP knowledge/experience, and I need to get an ASP contact form working on a website.
When I inherited the website, it was "broken" and I only have the page where you can input your contact information... When you click on the Submit button it only goes to an error page. I have attached a jpeg of what the contact form looks like.
Could someone help me to get this working? I am not sure where to start. Are there templates available?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If your hosting with Godaddy then visit this link. They explain everything and ahve great help files and support. They also have great customer service if you call them.
http://help.godaddy.com/ar
You might want to consider their Intro to ASP they have some great tutorials
http://help.godaddy.com/ar
You can also call them:
Product and Technical Support: (480) 505-8877
To Use webformmailer.asp from Godaddy....
1. Create a Web form, assigning unique names to your form fields.
2. In the form tag, assign _gdForm/webformmailer.asp to the action attribute and set the form method to post:
<form action="_gdForm/webformmai
3. In addition to the form fields you create, there are three hidden elements you can use.
form_format determines in what format the information is delivered. Its values are 'text', 'csv', 'html', 'xml', and 'default' (same as 'text').
form_order dictates in what order the fields are reported. Its values are 'default' (the same order as they appear on in the form), 'alpha' (alphabetized by field name) or a comma-separated, case-sensitive list of all or some field names.
form_interval determines the frequency and packaging of delivery. To receive one email per form submission, the form_interval values are 'default' (every 10 minutes), 'hourly', and 'daily'. To receive all submissions in an attachment of one email, the form_interval values are 'digest', 'hourly_digest', and 'daily_digest'.
For example:
<form action="_gdForm/webformmai
<input type="hidden" name="subject" value="Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
First Name: <input type="text" name="FirstName" />
Last Name :<input type="text" name="LastName" />
Email: <input type="text" name="email" />
Comments: <textarea name="comments" cols="40" rows="10">
Type comments here.</textarea>
<input type="submit" name="submit" value="submit"/>
<input type="hidden" name="form_order" value="alpha"/> <input type="hidden" name="form_interval" value="hourly"/> <input type="hidden" name="form_format" value="html"/> </form>
NOTE: Webformmailer.asp is accessed through a virtual directory. You cannot modify the file, and it does not display in the file manager.
Ok, if you no longer use the old host and your new host is Godaddy, that's the issue. Godaddy does not use emailform.asp. You need to recreate the form using webformmailer.asp from Godaddy if that is who is hosting this site and that is the server where this form is going to be used.
Replace the form action and the input values according to the Webformmailer.asp tutorial I provided above and it should work fine.
These are the main 3 steps:
1. Create a Web form, assigning unique names to your form fields (or use the form you have already)
2. In the form tag, assign _gdForm/webformmailer.asp to the action attribute and set the form method to post:
LINE 42 of your post shows your FORM name, change this info to:
<form action="_gdForm/webformmai
<form action="_gdForm/webformmai
In addition to the form fields you create, there are three hidden elements you can use.
You'll have to add a line like this into your form so it knows how you want the data sent to you formated.
<input type="hidden" name="form_order" value="alpha"/>
<input type="hidden" name="form_interval" value="default"/>
<input type="hidden" name="form_format" value="html"/>
</form>
The "form_order" dictates in what order the fields are reported. Its values are 'default' (the same order as they appear on in the form), 'alpha' (alphabetized by field name) or a comma-separated, case-sensitive list of all or some field names.
The "form_interval" determines the frequency and packaging of delivery. To receive one email per form submission, the form_interval values are 'default' (every 10 minutes), 'hourly', and 'daily'. To receive all submissions in an attachment of one email, the form_interval values are 'digest', 'hourly_digest', and 'daily_digest'. (so if you only want one form each time someone clicks submit, simply leave default and once every 10 minutes or within 10 minutes of completing the form it will be sent.
Then the "form_format" determines what format the information is delivered. Its values are 'text', 'csv', 'html', 'xml', and 'default' (same as 'text').
If you want HTML reports use HTML, if you want default text used default or text. If you want csv so you can import into excel or spreadsheet use csv.
You'll also have to change lines 38 - 40 to match what's going on for the new host.
Hi, I would suggest that you read up on the subject first. Take a quick tour here http://w3schools.com/asp/d
Hi,
I have a <form> dilema trying to implement the GoDaddy ContactUs page in ASP.NET using the _gdForm/webformmailer.asp file, similar to the problem identified above.
Under GoDaddy Account Management:
Hosting.Content.Form Mailer
1. I have setup the Form-mailer email address that must be setup
2. I have set the checkbox to reinstate the _gdForm directory contents (directory is hidden in FTP viewers)
I use an ASP.NET master page which already contain a <form> declaration:
<form id="form1" runat="server">
....
</form>
My Contact.aspx page derives from this masterpage
and as I have found out, I CANNOT nest <form> declarations
How then can I integrate the GoDaddy form-mailer (shown below)
<form action="http://www.earthed
.....
</form>
Must I integrate the two <form> declarations into one?
I am pretty new to ASP.NET.
Any help would be appreciated.
Business Accounts
Answer for Membership
by: thx2-netPosted on 2009-11-02 at 08:01:16ID: 25720548
Please paste code. Then we can see what you're submit button is doing.
/c/a/ASP/S ending-Ema il-From-a- Form- in-AS P/
Also, do you want it to send an email, store items in database or what function do you want submit button to achieve? If you have no DB set up with these fields and then sending an email would be easier. So would need to know what email solution you have available from your web host. Let us know who your host is (shared, dedicated) and what email software you have available to you or if you can install something.
Here's a quick tutuorial on sending email from a form using ASP.
http://www.devarticles.com
You can also send mail using Javascript if you are more familiar with that.