You are here

function PHPMailer::ClearAllRecipients in SMTP Authentication Support 5

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

Clears all recipients assigned in the TO, CC and BCC array. Returns void.

Return value

void

File

./smtp.module, line 1835
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 ClearAllRecipients() {
  $this->to = array();
  $this->cc = array();
  $this->bcc = array();
}