godaddy email sent problem

一   must be  UPDATE TO IIS7.0
 
二 

 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. Reinstall default scripts directory   —must do
  8. Verify that this is the address you want to use with your form-mailer, and click Update.

三 


Our support staff has responded to your request, details of which are described below:

Discussion Notes
Support Staff Response
Dear ping ping,

Thank you for your reply.

Two form mailers are included with new Windows shared hosting accounts: webformmailer.asp and gdform.php. To use a form mailer, create a Web form in HTML that links to one of our scripts and upload it to your hosting account.

NOTE: Do not use test@test.com to test your form mailer.

WARNING: The gdform.asp and gdform.php files cannot be recovered if they are deleted.

The form mailers are not installed until you specify the email address you want to use with the form mailer in your account manager. For more information, see Specifying an Email Address for the ASP Form-Mailer.

webformmailer.asp

To Use webformmailer.asp

  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/webformmailer.asp" method="post">

  3. gdform.php
    Only Windows accounts running IIS7 can use gdform.php.

To Use gdform.php

  1. Create your Web form as normal and assign unique names to your form items.

    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.

    For the form action line, enter /gdform.php. For example:

  2. <form action="/gdform.php" method="post">

    Set the form method to "post."

  3. 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>
  4. Save and upload your file to your hosting account.

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