My web host switched from QMAIL to Sendmail. I'm unfamiliar with "Sendmail" parameters, how do you use CC with Sendmail?
Bellow is a segment of an email script in my cgi script. The value of Variable "email2" comes from a form. That email address does not receive an email when the script executes, only "email1" receives mail. What is the correct way to distribute mail to both addresses?
print MAIL "To: $in{'email1'}, $in{'email2'}\n";
print MAIL "Reply-To:\n";
print MAIL "From: $in{'email1'}\n";
print MAIL "Subject: Foo\n\n";
Thanks in advance!!!
Bellow is a segment of an email script in my cgi script. The value of Variable "email2" comes from a form. That email address does not receive an email when the script executes, only "email1" receives mail. What is the correct way to distribute mail to both addresses?
print MAIL "To: $in{'email1'}, $in{'email2'}\n";
print MAIL "Reply-To:\n";
print MAIL "From: $in{'email1'}\n";
print MAIL "Subject: Foo\n\n";
Thanks in advance!!!