Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Seting Up Form-mail... Help


22 replies to this topic

#1 Compute

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 182 posts

Posted 27 August 2005 - 05:16 PM

Hi I'm pretty new to form-mails so could I like get a little help if possible ;).

Now I heard form-mail was already pre-installed... So where is the file that is pre-installed. Can I have the name and locations plz.

Also I want to know to set up the form-mail what steps do I have to take and what HTML code do I have to put into my web pages.

I want the info from the forum to be sent to an email box I have at godaddy. My domain is hosted their to.

Can someone experienced in this please give me step by step directions on how to set up everything.

Thanks in advance.

#2 BuffaloHelp

    Sterling Archer

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,088 posts
  • Gender:Male
  • myCENT:50.18

Posted 27 August 2005 - 05:26 PM

Thank you for your question.

Please take the time to familiarize yourself with cPanel, given by Trap17. Access your cPanel and look for the group "Preinstalled Scripts." Now select the CGI Center and you will see the complete list of preinstalled scripts at your disposal. CGI Email and FormMail Clone would be two examples. We have Tutorial section where members have posted guides and how to's regarding these and other FORMMAIL. Please use this key word to search the forum.

#3 midnightvamp

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 634 posts
  • Gender:Female
  • Location:Oshawa, Ontario, Canada, North America, Planet Earth, Our Sun's Orbit, Milky Way Galaxy, The Universe, Beyond
  • myCENT:21.77

Posted 27 August 2005 - 05:32 PM

I am in the middle of an evil form-mail battle, so I can relate to you. All yesterday, I tried to set up some forms... and now I finally have some set up, but they are still giving me nothing but trouble. I used the PHPformgenerator... I wanted to just set up some simple ones that I could direct the form input to be sent into my gmail account, but no such luck.

I don't know when to send the form action link to. I think that if I knew that, I could send it. Well, unless you still have to create a bunch of extra files to handle that too. Then, I'd be lost again. As it stands, with the formgenerator that I used, it created -tons- of files and folders... and that is all just for one form. I need two separate forms on my site, and there is so much room taken up for two small little forms.

And now that I put those premade formgenerators in there, it's messed up the permissions on my site somehow that I can't change and upload the new files. Even when I go into the files in cpanel and change the chmods of the files. Whatever the case is. I'd love to get rid of all those files and folders that it installed, but when I run the delete and uninstall thing for phpformgenerator, it doesn't get rid of the files and I can't delete them by hand either.

So, yes, a big head ache. All I wanted was something simple! This has been a long couple of days... and I'm no where close to where I'd like to be.

Sorry about the rant here. I'm a bit frustrated. And I would like to know how to make a -simple- form that submits three textbox's info to my email. I've tried php... it's not working for me. Anyway, if you are looking to take a crack at it, I'm about to try the cgiemail that is found in your cpanel -> scripts -> cgi center -> cgiemail...

#4 Compute

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 182 posts

Posted 27 August 2005 - 05:50 PM

I don't see any guides on how to set the FormMailer clone script? can you give me a link because i don't seem to see any. All i found was a email forum in php. Which is not what i need.

midnightvamp I totaly agree. You want something so simple but turns out to be harder then you think.

#5 BuffaloHelp

    Sterling Archer

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,088 posts
  • Gender:Male
  • myCENT:50.18

Posted 27 August 2005 - 06:00 PM

I don't know how simple you guys are looking for. But I have written a tutorial regarding CGI mail. You can read it here http://www.trap17.com/forums/index.php?sho...ndpost&p=170547 and don't forget to read the post #3 for supplement.

This CGI script is basic information gatherer. When all you want is person's information entered by that person online--this is for you. I have been using this to gather anyone who's seriously interested in my website offers and takes the time to fill out information for me to contact that person.

The collecting form is whatever you want to make it look...you can even use the form generator found as free when you search the web (or search TRAP17 for form generator).

Let me know if that help you guys out. ;)

#6 rvalkass

    apt-get moo

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,107 posts
  • Gender:Male
  • Location:Devon, England
  • Interests:At the moment, Physics mainly!
  • myCENT:69.42
  • Spam Patrol

Posted 27 August 2005 - 06:13 PM

midnightvamp said:

I've tried php... it's not working for me.
Why not? It's a lot simpler than trying to get CGI to work, or thats how I've found it in the past. If you want help getting it to work then I and many others are willing to help.

BuffaloHELP does explain it pretty well in that thread so have a look and see if it can help you. Also try the site of the creator of the script. I can't remember it at the moment so just have a look in cPanel.

#7 joelmachado

    Newbie

  • Kontributors
  • Pip
  • 1 posts

Posted 27 August 2005 - 06:24 PM

I am posting a reply because this is the only forum that I found where i can post anykind of reply.


I wish I could help but without knowing what you are familiar with its difficult to give any kind of instructions without knowing how much in detail I would have to go.

There are two programs out there that are easy to use. One is microsoft publisher the other(of Course) is Mircosoft frontpage...they both offer forms when developing web pages...the easiest of the two is microsoft publisher... you can have forms e-mailed to your email instead of being hosted on your site.

joel

#8 midnightvamp

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 634 posts
  • Gender:Female
  • Location:Oshawa, Ontario, Canada, North America, Planet Earth, Our Sun's Orbit, Milky Way Galaxy, The Universe, Beyond
  • myCENT:21.77

Posted 27 August 2005 - 06:35 PM

BuffaloHELP, on Aug 27 2005, 02:00 PM, said:

This CGI script is basic information gatherer. When all you want is person's information entered by that person online--this is for you.

Let me know if that help you guys out. ;)

View Post



That is all I'm after is basic information gathering type stuff. And I did find this tutorial yesterday, and I couldn't get it to work for me. Today, things are looking up. I've mananged to make a very basic form, that sends but I'm only getting the last two of the fields to arrive in the email. The first one doesn't show up at all.

Using your example... if on my template, I have:

Quote

To: your-receiving-address@server.com
Subject: testing out the application form

Name entered: [FirstName] [LastName]

Zip code: [zip]

Sender's email: [email]

Sender's phone: ([area])[exchange]-[number]

All I'm receiving is:

Quote

Zip code: [zip]

Sender's email: [email]

Sender's phone: ([area])[exchange]-[number]

I've checked to make sure that the words are spelled the same on both files, and that they don't have capitals or anything like that. Is there something I could need to add for it to send the first one along?

I tried adding a forth textbox, hoping that it just wouldn't send that one instead, but it just left out the first two areas instead and sent the same last two, so I'm not sure whatelse to try.


And thanks for the offer of help, rvalkass, I might have to take you up on that, if I can't get this one working. I'm not at all familiar with php... so I think that was half my problem.

#9 Compute

    Premium Member

  • Kontributors
  • PipPipPipPipPipPipPipPip
  • 182 posts

Posted 27 August 2005 - 06:39 PM

BuffaloHELP I read your tutorial.

I made a contacts page. and I placed the HTML code into that page.

Next I made a the template.txt file in the CGI bin. I added the code to that file.

Now I want to test the form but lets say the user types all the info in. how does he submit it. I see there was no submit input code? Am I doing something wrong?


Here is what my TXT file looks like.

To: support@corzendesign.com
Subject: testing out the application form

Name entered: [FirstName] [LastName]

Zip code: [zip]

Sender's email: [email]

Sender's phone: ([area])[exchange]-[number]


And this is what the html code in my contacts.html page looks like.


<form method="POST" action="http://www.corzendesign.com/cgi-bin/cgiemail/directory/template.txt" name="myform" 
<input type="hidden" name="addendum" value="Thank you. If you are seeing this page, you should be contacted within 48 hours.">
<table border=0 cellspacing=0 celpadding=0> 
<tr>
<td colspan=2>Enter your information:<br>
</td>
</tr>
<tr>
<td><p align=right>
First Name:</td>
<td>
<input type="text" name="FirstName" size=25 maxlength=50>
<td>
</tr>
<tr>
<td><p align=right>
Last Name:</td>
<td>
<input type="text" name="LastName" size=25 maxlength=50>
</td>
</tr> 
<tr>
<td><p align=right>
Zip Code:</td>
<td>
<input type="text" name="zip" size=25 maxlength=50>
</td>
</tr>
<tr>
<td><p align=right>
Email:</td>
<td>
<input type="text" name="email" size=25 maxlength=50>
</td>
</tr>
<tr>
<td><p align=right>
Phone:</td>
<td>
<input type="text" name="area" size=4 maxlength=5>-
<input type="text" name="exchange" size=4 maxlength=3>-
<input type="text" name="number" size=5 maxlength=4>
</td>
</tr>



So whats next?

#10 midnightvamp

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 634 posts
  • Gender:Female
  • Location:Oshawa, Ontario, Canada, North America, Planet Earth, Our Sun's Orbit, Milky Way Galaxy, The Universe, Beyond
  • myCENT:21.77

Posted 27 August 2005 - 06:47 PM

To add a submit button to the form (so the people can send it once it's filled out), you would type this at the bottom...

<INPUT TYPE="submit" value="Send">

You might also want a 'reset' button:

<INPUT TYPE="reset" value="Reset">

And I believe that you must add a line to end the code for the form too at the bottom:

</form>






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users