Contao\Email::addHeader PHP Method

addHeader() public method

Add a custom text header
public addHeader ( string $strKey, string $strValue )
$strKey string The header name
$strValue string The header value
    public function addHeader($strKey, $strValue)
    {
        $this->objMessage->getHeaders()->addTextHeader($strKey, $strValue);
    }