Posted by chuckdeal97 on March 25, 2009 at 2:01pm
Jump to:
| Project: | SMTP Authentication Support |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
In my messages I added a CC address
$message['headers']['CC'] = $ccaddr;Both the From and CC user received the mail, but the CC user didn't show up as a CC. When I checked the code, both CC and BCC are being adding to the PHPMailer as a BCC.
I believe line 435 of smtp.module should become
$mail->AddCC($ccaddr, $ccname);Making that one line change fixed the problem for me.
Comments
#1
Seconded.
This is more critical than you might think, because of this:
[class.phpmailer.php; line 376.]
* Adds a "Bcc" address.* Note: this function works with the SMTP mailer on win32, not with the "mail" mailer.
public function AddBCC($address, $name = '') {
Because of this one line, neither CC nor BCC are possible on a *nix box.
#2
I have fixed this in the -dev version, here: http://drupal.org/cvs?commit=430132
@Mike_Waters: what that message is saying is that it doesn't work with the mail mailer on Win32, not *nix.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.