Subject: | BCC's Not Going Through |
Date: | Wed, 20 Mar 2019 23:29:44 -0400 |
To: | bug-email-send-smtp-gmail [...] rt.cpan.org |
From: | Sujeet Akula <sujeet [...] freeboson.org> |
Hi,
I've just used your super convenient package for the first time. I've found
that the "-bcc" flag is not working for me. My usage is pretty basic:
my ($mail,$error)=Email::Send::SMTP::Gmail->new(-smtp=>'smtp.gmail.com',
-login=>$webmaster,
-pass=>$email_password);
print "session error: $error" unless ($email!=-1);
$mail->send(-to=>$input{email},
-subject=>"$input{fullname}'s ...",
-cc=>"email1@gmail.com",
-bcc=>"email2@gmail.com",
-body=>$str);
$mail->bye;
In the above, the email goes to email1@gmail.com, but not email2.
Originally, I had it as -bcc=>"email1@gmail.com,email2@gmail.com", and it
didn't arrive in either mailbox, so it seems like only BCC is failing.
Best,
Sujeet