in reply to Re^3: Multiple Recipients in email
in thread Multiple Recipients in email

That was a good point, so I attempted to do what you suggested. Strangely enough... it didn't give the error when I called my own version of that function.

This left the Bcc problem I was having as unresolved, and when I added Bcc recipients via the header command, I got emails to all listed, but the list of recipients was visible to everyone. So, looking back through the Net::SMTP documentation, I saw that email::send::gmail does not a make call like:

$stmp->bcc(@recips,{SkipBad=>1});
and instead stuffs everything into the "to" recipients.

Long story short(er), I rewrote the send routine to properly parse out the bccs, remove them from the header, etc, and everything seems to be working, now.

Thanks for the help.

Replies are listed 'Best First'.
Re^5: Multiple Recipients in email
by Anonymous Monk on Aug 12, 2009 at 07:55 UTC
    So, in other words, there is still no idea why Email::Send::Gmail cannot handle multiple entries in the To: header or Cc: headers? Someone should file a bug report with creator and see if something happens.