You are here

function PHPMailer::HeaderLine in SMTP Authentication Support 5

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

Returns a formatted header line. @access private

Return value

string

2 calls to PHPMailer::HeaderLine()
PHPMailer::CreateHeader in ./smtp.module
Assembles message header. @access private
PHPMailer::GetBoundary in ./smtp.module
Returns the start of a message boundary. @access private

File

./smtp.module, line 1443
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 HeaderLine($name, $value) {
  return $name . ": " . $value . $this->LE;
}