I've got a perl script that runs and sends an email. It worked fine until I added the -b option for a blank carbon copy. The mail is still getting sent to the last address, but the bcc's are not getting sent and the mail is added to dead.letter file. When I run a command line mail command with bcc it works fine. Anyone have an Idea?

Script snippet:
From a for loop that iterates through the array of email addresses in $row:

$setup = "-s \"Email Subject\" -b [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] $row[i]";
$check = system("echo -e $message | mail $setup");
----


ransom, webmaster and postgres do not recieve any email, but everyone in $row[i] do recieve the email.

Thanks,
Rich

--
Rich Ransom
Webmaster
KISS Institute
http://www.botball.org
http://www.kipr.org
[EMAIL PROTECTED]


-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to