Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Sender CPAN distribution.

Report information
The Basics
Id: 77655
Status: resolved
Priority: 0/
Queue: Email-Sender

People
Owner: Nobody in particular
Requestors: STEFFENW [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.110005
Fixed in: (no value)



Subject: SMTP and the Bcc is visable
This patch is for the problem that SMTP transport has a visible Bcc in Header. The Bcc in header is ok and needed for sendmail but not for SMTP. So I have removed them exactly here in "SMTP.pm". Now the user can change the transport without any problems. Index: SMTP.pm =================================================================== --- SMTP.pm +++ SMTP.pm @@ -149,6 +149,10 @@ # restore Pobox's support for streaming, code-based messages, and arrays here # -- rjbs, 2008-12-04 + # Bcc in header will be delivered, remove them + # https://rt.cpan.org/Public/Bug/Display.html?id=60911 + $email->set_header( Bcc => q{} ); + $smtp->data or $FAULT->("error at DATA start"); $smtp->datasend($email->as_string) or $FAULT->("error at during DATA"); $smtp->dataend or $FAULT->("error at after DATA");
This is intended behavior, see https://github.com/rjbs/Email-Sender/wiki/Bcc -- rjbs