ranji1323
09-27-2004, 10:55 AM
Does any body have a nice perl cgi script that can process a form and send it via email to a specfic destination?
|
Click to See Complete Forum and Search --> : sending email ranji1323 09-27-2004, 10:55 AM Does any body have a nice perl cgi script that can process a form and send it via email to a specfic destination? silent11 09-28-2004, 12:25 PM http://nms-cgi.sourceforge.net/scripts.shtml take a look at FormMail ranji1323 09-28-2004, 01:26 PM Thanks Silent, I'm using ValueWeb's version of this script for a friends site. It looks exactly the same. The only thing is, is that it takes the <input> element name and uses it for the labels of the emailed form. So if I want a meaningful name to show up on the email such as "Contact Type" followed by the users input for instance, I have to make my input text tag as such. <input type="text" name="Contact Type" id="contact"> I know this is a big no-no, having spaces in element names but I didn't see any other way. Fortunatley my javascript form validation still works because I point to the ID of the element as opposed to the name. Do you know if this is how its supposed to process my form? Do you have experience using this perl script? Thanks in advance Best Regards, Ranji silent11 09-28-2004, 02:50 PM I have used the script before, but not much. There is plenty of documentation provided at that site. CyCo 09-28-2004, 04:18 PM The only thing is, is that it takes the <input> element name and uses it for the labels of the emailed form. So if I want a meaningful name to show up on the email such as "Contact Type" followed by the users input for instance, I have to make my input text tag as such. how about this? <input type="text" name="Contact&NBSP;Type" id="contact"> *NOTE* I had to use all caps for nbsp because the forum would in fact produce a "non-breaking space" webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |