You are here

public function PHPMailer::HeaderLine in SMTP Authentication Support 7

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

Returns a formatted header line. @access public

Return value

string

3 calls to PHPMailer::HeaderLine()
PHPMailer::CreateHeader in ./smtp.phpmailer.inc
Assembles message header. @access public
PHPMailer::GetBoundary in ./smtp.phpmailer.inc
Returns the start of a message boundary. @access private
PHPMailer::GetMailMIME in ./smtp.phpmailer.inc
Returns the message MIME. @access public

File

./smtp.phpmailer.inc, line 1294
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 HeaderLine($name, $value) {
  return $name . ': ' . $value . $this->LE;
}