Re: form script question



On 7/30/2007 12:47 PM, J. Gleixner wrote:
David Pyles wrote:
I'm a web designer, but not a perl programmer. I've been working on some forms using the form mail program that is part of VDeck.

Whatever that is...


$vdeck->send_email({ -to => $to,
-from => $to,
-cc => [split ',', $cc],
-bcc => [split ',', $bcc],
-subject => "Feedback: from $form_meta->[2]",
-message => $message
});


Can someone tell me how to modify this script to make it pick-up the value of a hidden "subject" field in the form and place it's value in the subject line of the resulting email?

-subject => $q->param('name_of_hidden_subject_field'),

If $to is supplied via the form, then anyone can easily set it and use your site to send E-Mail to anyone.
Thanks. Mumia W. suggested the same thing in a private email, but it soesn't work. I just get a server error. I guess I'll leave it as is.
Dave Pyles
.