You are here

function PHPMailer::AddBCC in SMTP Authentication Support 5

Same name and namespace in other branches
  1. 7.2 smtp.phpmailer.inc \PHPMailer::AddBCC()
  2. 7 smtp.phpmailer.inc \PHPMailer::AddBCC()

Adds a "Bcc" address. Note: this function works with the SMTP mailer on win32, not with the "mail" mailer.

Parameters

string $address:

string $name:

Return value

void

File

./smtp.module, line 763
Enables drupal to send email directly to an SMTP server using authentication. Uses the PHPMailer class by Brent R. Matzelle.

Class

PHPMailer
PHPMailer - PHP email transport class @package PHPMailer @author Brent R. Matzelle @copyright 2001 - 2003 Brent R. Matzelle

Code

function AddBCC($address, $name = "") {
  $cur = count($this->bcc);
  $this->bcc[$cur][0] = trim($address);
  $this->bcc[$cur][1] = $name;
}