sleepyfrog
Vendor
Sorry if this is very basic;
I have a form handler which has recipient:
my $field_name_email = 'sendtoemailaddress';
$SendTo{'copies'} = 'fvs01@sleepyfrog.com';
However, I want to add a second recipient, but the email address is not fixed until the form has been created by cgi. Is there a way of passing this value from the form to get it included with the other recipient - the form value is:
<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 am obviously doing it wrong as it didn't work.
Any help would be very appreciated.
I have a form handler which has recipient:
my $field_name_email = 'sendtoemailaddress';
$SendTo{'copies'} = 'fvs01@sleepyfrog.com';
However, I want to add a second recipient, but the email address is not fixed until the form has been created by cgi. Is there a way of passing this value from the form to get it included with the other recipient - the form value is:
<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 am obviously doing it wrong as it didn't work.
Any help would be very appreciated.