dombrorj Posted April 15, 2003 Posted April 15, 2003 I've spent hours and hours trying to get a form to work for me -- and I'm totally frusterated. I have a simple form that requests visitors to enter their name and e-mail address to opt-in to my newsletter. All I want it to do is send the visitor a welcome / thankyou message to their inbox when they submit the form. Also, send the info to me so I can add them to my email list. Preferably though, I would like them to be automatically added to my email list. There's got to be an easy way to do this. I've got a grasp on how to write the form and script, but it just won't work. Please help! Thanks. Quote
TCH-JimE Posted April 15, 2003 Posted April 15, 2003 Dombri, Have you tried using the script supplied in the CPANEL? Jim Quote
KevinW Posted April 15, 2003 Posted April 15, 2003 Information and an example of using the Form Mail that comes with TCH's cPanel can be found at the TCH Help Web site - click here! -kw Quote
SEO Posted April 16, 2003 Posted April 16, 2003 The formmail script that Jim and KW suggest will work. It will not automatically add anyone to your email list but it is very easy. A sample script would be: ><form action="http://www.******/cgi-sys/FormMail.cgi" method="POST" name="form1"> <input type="hidden" name="recipient" value="you@somewhere.com"> <input type="hidden" name="subject" value="Something you want in the subject of the email you will receive"> <input type="hidden" name="redirect" value="http://www.******/YourThankYouPage.html"> **** insert form fields </form> If you have any problems, just post quesiton to this thread. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.