CRO8 Posted August 12, 2004 Posted August 12, 2004 Hi All: I am setting up script formail so my client can have customers fill out a form, and info gets emailed to his email account, then customers receive a ‘thank you’ email. So I was wondering where is the location of TCH server’s send mail program? Thanks! Quote
CRO8 Posted August 12, 2004 Author Posted August 12, 2004 where is the perl interpreter located? Quote
CRO8 Posted August 12, 2004 Author Posted August 12, 2004 thanks! I put my perl file in cgi-bin folder so my path in the form itself is action="/cgi-bin/FormMail" correct? Quote
TCH-Bruce Posted August 12, 2004 Posted August 12, 2004 (edited) action= "/cgi-bin/FormMail.cgi" Or it could have a .pl extension. Which FormMail are you using? Edited August 12, 2004 by TCH-Bruce Quote
CRO8 Posted August 12, 2004 Author Posted August 12, 2004 FormMail.pl from matt's scripting. hmmmmm. I get an error message: Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@couponpile.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.31 Server at www.couponpile.com Port 80 Quote
TCH-Don Posted August 13, 2004 Posted August 13, 2004 Sorry thought you were trying to use your own script the cpanel formail does not work and has been dissabled. see Formmail Script, not working A php form is better if the e-mail address is hidden. Quote
CRO8 Posted August 13, 2004 Author Posted August 13, 2004 ok. Ill read that other post and try and alternative. thnx! Quote
CRO8 Posted August 13, 2004 Author Posted August 13, 2004 ok Im emabarrassed dodsmail is far too easy to use but its not working I get a "cannot find this page" and in the url window is my domain name/dodosmail.php sitting right there . . .hmmm. not sure. My code is below . . ><form action="dodosmail.php" method="POST"> <!-- these variables require customization --> <input type="hidden" name="required_fields" value="subject,after_url,name,message"> <input type="hidden" name="subject" value="Inquiry from Couponpile.com"> <input type="hidden" name="your_email_address" value="contact@couponpile.com"> <input type="hidden" name="check_email_address" value="no"> <!-- these variables are for error page and output page if you didn't choose to redirect --> <input type="hidden" name="background_color" value="#FFFFFF"> <input type="hidden" name="background_image" value="bk.gif"> <input type="hidden" name="text_color" value="#000000"> <input type="hidden" name="link_color" value="#C000C0"> <input type="hidden" name="visited_link_color" value="#0000C0"> <input type="hidden" name="active_link_color" value="#0000C0"> <input type="hidden" name="font_name" value="Verdana"> <input type="hidden" name="font_size" value="2"> <!-- the font color for highlighting required field --> <input type="hidden" name="highlight_color" value="red"> <!-- leave it blank if you don't have a css file or know what it is --> <input type="hidden" name="css_file" value=""> <!-- these variables are for the auto response email sent to your sender, feel free to disable by putting a "no" in the first line --> <input type="hidden" name="autoresponse" value="yes"> <input type="hidden" name="owner_name" value="Couponpile.com"> <input type="hidden" name="response_subject" value="Thank you for your Inquiry!"> <input type="hidden" name="response_mail" value="This is an auto response to let you know that we've successfully received your message sent through the email form. Thanks!"> <!-- if you want dodosmail to show the send info without redirection, get rid of the following --> <input type="hidden" name="after_url" value="thankyou.html"> Name: <br /><input type="text" name="name" size="20"><br /><br /> Subject: <br /><input type="text" name="subject" size="20"><br /><br /> Message: <br /> <textarea name="message" rows="6" cols="40" wrap> </textarea><br><br> <input type="submit" value="Submit"> </form> Any ideas? Thanks! Quote
TCH-Don Posted August 13, 2004 Posted August 13, 2004 <input type="hidden" name="after_url" value="thankyou.html"> does this page exist? check the spelling? you do not have a field for the visitors e-mail I tried your form, let me know if you get the e-mail then I got the thankyou.html missing Quote
CRO8 Posted August 13, 2004 Author Posted August 13, 2004 that was it- spelling- thank you sir. wow- that was soooooo easy! thanks turtle. Quote
TCH-Don Posted August 13, 2004 Posted August 13, 2004 Good! Now in the form the line <input type="hidden" name="your_email_address" value="you@******"> you really should remove it and edit the dodosmail.php file and put your e-mail address in there in dodosmail.php the second line ##$your_email_address="you@******"; remove the two ## and edit the line to put your address there. This will hide your e-mail address from spammers. Quote
CRO8 Posted August 16, 2004 Author Posted August 16, 2004 hey thanks - yeah I saw that in the readme file. if you recommend it then its good enough for me. thanks again. Quote
TCH-Don Posted August 16, 2004 Posted August 16, 2004 You are welcome although the spammers will not be happy you are going to hide your e-mail 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.