godaddy-To Specify the Email Address for the Form-Mailer

 

 

Specifying an Email Address for the PHP Form-Mailer

 

In order to use our PHP form-mailer, you must specify an email address where you want the contents of your form sent to.

To Specify the Email Address for the Form-Mailer

  1. Log in to your Account Manager.
  2. From the Products section, click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.
  4. In the Content section of the Hosting Control Center, click the Form Mail icon.
  5. Under the Forms Email Address section, type the email address you want to use with your form-mailer.
  6. Click Continue.
  7. Verify that this is the address you want to use with your form-mailer, and click Update.

 

Thank you for contacting Online Support.  Your current account does not support PHP.  You will need to enable IIS7 if you wish to use PHP.  You can upgrade to IIS 7 from IIS Management in the Hosting Control Center.

Existing Windows Shared Hosting accounts running IIS 6 can upgrade to IIS 7. For information on IIS 7, see What is IIS 7?

NOTE: IIS 7 is not compatible with FrontPage Extensions or MS SQL 4.0 databses.

To Upgrade Your Windows Shared Hosting Account to IIS 7

gdform.php

To Use gdform.php

WARNING: The gdform.php file cannot be recovered if it’s deleted.

  1. Create your Web form as normal and assign unique names to your form items.
  2. NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.

  3. For the form action line, enter /gdform.php. For example:
    <form action="/gdform.php" method="post">
  4. Set the form method to "post."
  5. In addition to the fields you create in your form, there are three special fields that you can use: subject, redirect, and email.

    Subject. Controls the subject line in the form email.

    Redirect. Controls the page that your visitors will see after they submit the form.

    Email. Controls the return address for the form email.

    For example:

    <form action="/gdform.php" method="post">
    <input type="hidden" name="subject" value="Form Submission" />
    <input type="hidden" name="redirect" value="thankyou.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>Comments:<textarea name="comments" cols="40" rows="10">
    Type comments here.</textarea></p>
    <input type="submit" name="submit" value="submit"/>
    </form>
  6. Save and upload your file to your hosting account.

For information on reinstalling your default scripts, see How Do I Reinstall the Default Scripts Directory?

 

 

Advertisements
此条目发表在PHP分类目录。将固定链接加入收藏夹。

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s