public function PHPMailer::headerLine
Search API
5.x PHPMailer.php | public PHPMailer::headerLine($name, $value) |
Format a header line.
Parameters
string $name:
string|int $value:
Return value
string
5 calls to PHPMailer::headerLine()
- PHPMailer::createBody in inc/
PHPMailer/ src/ PHPMailer.php - Assemble the message body. Returns an empty string on failure.
- PHPMailer::createHeader in inc/
PHPMailer/ src/ PHPMailer.php - Assemble message headers.
- PHPMailer::getBoundary in inc/
PHPMailer/ src/ PHPMailer.php - Return the start of a message boundary.
- PHPMailer::getMailMIME in inc/
PHPMailer/ src/ PHPMailer.php - Get the message MIME type headers.
- PHPMailer::preSend in inc/
PHPMailer/ src/ PHPMailer.php - Prepare a message for sending.
File
- inc/
PHPMailer/ src/ PHPMailer.php, line 2799
Class
- PHPMailer
- PHPMailer - PHP email creation and transport class.
Namespace
PHPMailer\PHPMailerCode
public function headerLine($name, $value)
{
return $name . ': ' . $value . static::$LE;
}