in reply to CGI/PERL email form that will send to multiple address based on checkbox selection
if($in{'chkboxname1'}){
$in{'form-to'} .= ',group1@domain.com';
}
if($in{'chkboxname2'}){
$in{'form-to'} .= ',group2@domain.com';
}
if($in{'chkboxname3'}){
$in{'form-to'} .= ',group3@domain.com';
$in{'form-to'} =~ s/^,//;
--lnl
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI/PERL email form that will send to multiple address based on checkbox selection
by Anonymous Monk on Jun 18, 2003 at 18:06 UTC |