The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FormMail

Discussion in 'E-mail Discussions' started by Pete, Jan 9, 2002.

  1. Pete

    Pete Well-Known Member

    Joined:
    Dec 19, 2001
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Can someone explain to me (From An End-Users birdseye view) what steps need to be taken to use the FormMail function after clicking on it from CP?
     
  2. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    The fact is that you do not even need to click on it in the control panel in order to use it.

    The script is already stored on the system and added as an alias to apache. This means that it is accessible from http://www.your_domain.com/cgi-sys/FormMail.cgi (watch out for those caps) (and your_domain.com may be either your own or any of your hosted domains)

    Beyond this point, all you need to do is write a form that submits the information to the URL above...\'

    Here is a sample Form that you can submit to all your clients...Just remember to edit the (values) to your own


    <form method=\"POST\" action=\"http://(your_domain.com)/cgi-sys/FormMail.cgi\">
    <p>
    <input type=\"hidden\" name=\"recipient\" size=\"20\" value=\"(your_email_address)\"></p>
    <p><u>Return-Email:
    <input type=\"text\" name=\"email\" size=\"20\"></u></p>
    <p><u>Subject:
    <input type=\"text\" name=\"subject\" size=\"20\"></u></p>
    <p><u>Real Name:
    <input type=\"text\" name=\"realname\" size=\"20\"></u></p>
    <p><textarea rows=\"9\" name=\"message\" cols=\"94\"></textarea></p>
    <p><input type=\"submit\" value=\"Submit\"><input type=\"reset\" value=\"Reset\" name=\"B2\"></p>
    </form>

    Hope this helps.,
    Hedgy
     
  3. Pete

    Pete Well-Known Member

    Joined:
    Dec 19, 2001
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    Thank you hedgehog. I have copied your reply and put it into our online docs. Greatly appreciated.
     
  4. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    16
    Glad to help Pete...

    I have been trying to setup an online documentation on the site for sometime.

    I know it does take a lot of time to do :(

    Hedgy
     

Share This Page