Giúp cài đặt webformmailer.php trong hosting

Thảo luận trong 'Style & Template Questions' bắt đầu bởi thanhmaikmt, 28/10/13.

1votes
5/5, 1 vote

  1. thanhmaikmt

    thanhmaikmt Member

    Bài viết:
    210
    Likes :
    36
    Hi all
    hiện tại mình hỏi về vấn đề mail trong xenforo bên hosting hướng dẫn như vậy?
    Mình không biết làm chi tiết như thế nào với xenforo cả, bạn nào chỉ giúp mình được không ?
    Đây là toàn bộ hướng dẫn:

    Discussion Notes
    Support Staff Response
    Dear Mai,

    Thank you for contacting Professional Hosting Support in regards to your hosting account foricdesignvn.com:

    Unfortunately our scope of support does not cover content management on the server. This is the sole responsibility of our customers. We provide step by step instructions as a courtesy. Please see the following to set up your form mailer. There are links located throughout these instructions that will help you with customizing your web form.

    NOTE: Before you start, click here to see which version of the FTP File Manager is in your Control Panel. This help article applies to the New FTP File Manager. If you are using theClassic FTP File Manager, see Using PHP Form Mailers





    Two non-CGI form mailers are included in Linux shared hosting account default files:webformmailer.php and gdform.php. They reside in the root directory of your hosting account. Incorporating either of these scripts into your website creates a form to capture user information and email it to a specified address.


    For more information about designating the destination email address, see Specifying an Email Address for the PHP Form-Mailer.




    Using webformmailer.php


    Follow these steps to use webformmailer.php.


    To Use webformmailer.php

    1. Log in to your Account Manager.
    2. Click Hosting.
    3. Next to the hosting account you want to manage, click Launch.
    4. From the Tools section, click File Manager.
    5. Click the file name for the Web page you want to place your form mailer in.
    6. Enter the form mailer in the body of your HTML.
    7. This is a very generic form mailer you can use:




      <form action="/webformmailer.php" method="post">
      <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_delivery" value="hourly_digest"/>
      <input type="hidden" name="form_format" value="html"/>
      </form>



    8. If you create your own form tag, assign /webformmailer.php to the action attribute and set the form method to post:

      <form action="/webformmailer.php" method="post">

    9. In addition to the form fields you create, there are 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_delivery determines the frequency and packaging of delivery. All form submissions are sent via an attachment. You can specify the form_delivery variables as one of the following: 'digest', 'hourly_digest', and 'daily_digest'.


    10. Once you are finished adding your Web form mailer click OK.



      Using gdform.php


      Follow these steps to use gdform.php.


      To Use gdform.php

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

      1. Log in to your Account Manager.
      2. Click Hosting.
      3. Next to the hosting account you want to manage, click Launch.
      4. From the Tools section, click File Manager.
      5. Click the file name for the Web page you want to place your form mailer in.
      6. Enter the form mailer in the body of your HTML.
      7. This is a very generic form mailer you can use:

        <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>
      8. If you create your own form tag, assign your Web form mailer with 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.

      9. For the form action line, enter /gdform.php. For example:
        <form action="/gdform.php" method="post">

      10. Set the form method to "post."
        • 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.
        • Once you are finished adding your Web form mailer click OK.
    Bạn nào rành hướng dẫn chi tiết giúp mình được ko ?
     
    Đang tải...
comments powered by Disqus

Chia sẻ trang này

Đang tải...