Hi, I'm using Email::Mime to construct an object like this :
my $email = Email::MIME->create( header_str =>[ To => $email_to, Cc => $email_cc, Bcc => $email_bcc, From => $email_from, Subject => $email_subject ], body_str =>$email_body, attributes => { content_type => 'text/html', charset => 'utf8', encoding => 'quoted-printable' } );
and sending it using this :
try { sendmail( $email, { from => $email_from, transport => Email::Sender::Transport::SMTP->new({host => $S +MTP_HOSTNAME,port => $SMTP_PORT}) } ); } catch { print $_->message};
If I do a print $email->as_string I can see the Bcc header, but when I do a tcpdump I can see that there is no RCPT TO: message for the Bcc email address. To and Cc email addresses receive the email. Does anyone know how to get Email:MIME to work with Bcc ? Email:Stuff works, but I would prefer to use Email:MIME.
ThanksIn reply to Email::MIME won't send email to Bcc addresses by fshrewsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |