Click to See Complete Forum and Search --> : Seeking a particular form script!


riz-man
04-13-2004, 05:42 PM
Does anyone know where I can get hold of a form script that is just as good as formail by http://www.scriptarchive.com/formmail.html but allows me to control the formatting of the e-mail message that is sent once the form is submitted?

Basically, I want it so that all the field names in the generated e-mail are bold. So if all a user had to do to complete an online form was fill out their name and submit, I would receive an e-mail like so:

Name (this is the field name and is bold!): Joe Bloggs (not bold).

Anyone know of such a script?

Thanks

Phil Karras
04-14-2004, 02:20 PM
Bold, not bold will only work for people who set their browser to use HTML I believe. So, I guess you need to add the <html><body><b>Field</b> My Name </body></html> to the e-mail?

Also, if you have a form that they are filling out and you're posting it to your Perl script, why not just write it to do what you want? I've written any number of form handlers that send me e-mail in the form I want from both Perl & PHP, it's not difficult but you do need to know how to access the e-mail program provided by your ISP AND you need to be real careful to taint all incoming data & then clean it up so you don't open a door for SPAMMERS - hope that helps.