You are here

public function PHPMailer::AddCustomHeader in SMTP Authentication Support 7.2

Same name and namespace in other branches
  1. 5 smtp.module \PHPMailer::AddCustomHeader()
  2. 7 smtp.phpmailer.inc \PHPMailer::AddCustomHeader()

Adds a custom header. @access public

Return value

void

File

./smtp.phpmailer.inc, line 1987
The mail handler class in smtp module, based on code of the phpmailer library, customized and relicensed to GPLv2.

Class

PHPMailer
PHPMailer - PHP email transport class NOTE: Requires PHP version 5 or later @package PHPMailer @author Andy Prevost @author Marcus Bointon @copyright 2004 - 2009 Andy Prevost

Code

public function AddCustomHeader($custom_header) {
  $this->CustomHeader[] = explode(':', $custom_header, 2);
}