For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > April 2005 > passing email address from a form









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author passing email address from a form
carolh

2005-04-04, 1:16 am

I have a formmail script, but am trying to pass the recipient value into it from the external form.

type="hidden" name="recipient" value="someone@somemail.com"

I tried:

my $field_name_email = 'sendtoemailaddress';
my $destination = "recipient";
$SendTo{'copies'} = 'fvs01@sleepyfrog.com,';$destination;

But obviously wrong!

Any help would be really appreciated
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com