I have a problem using Mail::Mailer with a Bcc in the header....the
recipient (To) can see the Bcc field in the email header.

Here's my code:

$headers{'To'} = $To;
$headers{'Bcc'} = $Bcc;
$headers{'From'} = $email_from;
$headers{'Subject'} = $email_subject;

$mailer = new Mail::Mailer 'smtp', Server => $server;
$mailer->open(\%headers);
print $mailer $body;
$mailer->close;


Any thoughts?


Reply via email to