http://qs321.pair.com?node_id=11114553

htmanning has asked for the wisdom of the Perl Monks concerning the following question:

Monks, I'm trying to send via Cc with sendmail. The first recipient receives the email and the headers look correct with a CC, but the email never makes it to the copied address.
open (MAIL, "|$sendmail $recipient") || die "Can't open $mailprog!\n" +; print MAIL "From: Return Address <$return_email>\n"; print MAIL "Reply-to: $return\n"; print MAIL "To: $recipient\n"; if ($email2) { print MAIL "Cc: $email2\n"; } print MAIL "Subject: Test!\n\n";
Is this even possible?