Anybody know how to send a form to multiple recipients? I already tried cc-recipient(that works for 1 cc) and I tried to seperate the e-mail addresses with commas but that did not work. I am using the form mail code at Matt's script archives.
Jul 16, 2001, 11:24 AM
User (53 posts)
Jul 16, 2001, 11:24 AM
Post #2 of 2
Views: 1897
Not sure how Matt's is set up, but you can change it to this setup:
$recipient = 'something@something.com, something@something.com, something@something.com';
open (MAIL, "|$mailprog -t") or die("Can't access $mailprog!\n");
print MAIL "To: $recipient\n";
blah, blah....
That's how I write mine anyway..
$recipient = 'something@something.com, something@something.com, something@something.com';
open (MAIL, "|$mailprog -t") or die("Can't access $mailprog!\n");
print MAIL "To: $recipient\n";
blah, blah....
That's how I write mine anyway..