in reply to Re: Re: CGI Recipient
in thread CGI Recipient

Just include a test for the selection and if it's true, set $recipient to 'test@test.edu' and 'additional@test.edu' before you call  open (MAIL, "|$mailprog $recipient") || die "Can't open $mailprog!\n";

- - arden.

Replies are listed 'Best First'.
Re: Re: Re: Re: CGI Recipient
by Anonymous Monk on Mar 04, 2004 at 20:00 UTC
    I was going down this route initially if ($FORM{'ckusr'}<=> " ") { $recipient = 'test@test.edu','test1@test.edu; } else { $recipient = 'test@test.edu';
Re: Re: Re: Re: CGI Recipient
by Anonymous Monk on Mar 04, 2004 at 20:07 UTC
    Sorry about the blanks, a little hicup I was going down this route
    if ($FORM{'ckusr'}<=> " ") { $recipient = 'test@test.edu','test1@test.edu; } else { $recipient = 'test@test.edu';
    GD Thanks for the input by the way.