The GoDaddy form mailer can be used to collect e-mail addresses or other visitor information from your website. Using the GoDaddy form mailer, you can reconnect with visitors at a later time and gain valuable knowledge about who is coming to your site and why. The GoDaddy form mailer is moderately easy to implement for new Web developers. These instructions assume you have a GoDaddy account with Linux hosting, and have a website published or understand how to upload HTML files using an FTP client.
- Skill level:
Other People Are Reading
Things you need
- GoDaddy Linux hosting account
- FTP client
Set the e-mail address for the GoDaddy form mailer within your account. Log into your Account Manager. Under “Products” and click “Web Hosting.” Click “Launch” beside the hosting account you wish to use for your form mailer.
Click “Form Mail” under the “Content” section. Enter the e-mail address where you want submitted forms to be sent under “Forms Email Address.” Click “Continue” and “Update” to verify the e-mail address.
In your HTML file where you want the form to appear, enter this code:
<form action="/gdform.php" method="post">
<input type="hidden" name="subject" value="New E-Mail Subscriber" />
<input type="hidden" name="redirect" value="http://www.yoursite.com/thanks.html" />
<p>First Name:<input type="text" name="FirstName" /></p>
<p>Last Name:<input type="text" name="LastName" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p>Your Message:<textarea name="comments" cols="50" rows="20">
Tell us what you think of our new website!</textarea></p>
<input type="submit" name="submit" value="submit"/>
You can edit this code to suit your needs. The above items are examples, including the subject, redirection page, first name, last name, e-mail and message.
Save your HTML file with the new code.
Upload the HTML file to your server using your preferred FTP client, just as you did with your initial website files.
Visit your website to see the new form. Test the form by filling in all of the fields and using a different e-mail address than the one you entered in Step 2. Once you submit the form, you should receive an e-mail to the e-mail address you entered in Step 2 with the submitted information.
Tips and warnings
- Depending on the type of hosting account you have, you will either use an ASP GoDaddy form mailer or a PHP GoDaddy form mailer. Windows hosting accounts use ASP and Linux hosting accounts use PHP. The default is Linux.
- The “form action” in the code may need adjusting depending on the location of your gdfom.php file. If your form doesn’t work, try adding the full URL to the form, such as “http://www.yoursite.com/sitefiles/gdform.php.” If this doesn’t work, try removing the initial backslash before “gdform.php” so it reads “gdform.php” instead of “/gdform.php”.
- If you have Windows hosting with the ASP form mailer, simply replace the “.php” ending of “gdform.php” to “gdform.asp”.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for