in reply to CGI recipient Option
Now, the To: header separates the list of recipients with commas. One way is to concat onto the recipient string.
Another way is to have a list of recipients and join them together.$recipient .= ', somebody@somewhere' if $FORM{'ckusno'};
push @recipients, 'somebody@somewhere' if $FORM{'ckusno'}; my $recipients = join(', ', @recipients);
However, you should not put this script up on the web. It will be hacked. It will be used to send spam through your server. It will get you and your employer is lots of trouble. It may allow the server to be compromised and taken over. That might not be a bad thing because the hackers might delete this script.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI recipient Option
by quissett (Initiate) on Sep 01, 2004 at 16:52 UTC | |
by iburrell (Chaplain) on Sep 01, 2004 at 18:27 UTC | |
by quissett (Initiate) on Sep 01, 2004 at 20:06 UTC | |
by iburrell (Chaplain) on Sep 02, 2004 at 16:35 UTC |