PHPMailer\PHPMailer

PHPMailer::headerLine()publicWP 1.0

Format a header line.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

String.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->headerLine( $name, $value );
$name(string) (required)
-
$value(string|int) (required)
-

Code of PHPMailer::headerLine() WP 6.0

public function headerLine($name, $value)
{
    return $name . ': ' . $value . static::$LE;
}