src/Koldy/Mail/Adapter/AbstractMailAdapter.php
protected function getAddressValue(string $email, string $name = null)
    {
        if ($name === null || $name == '') {
            return $email;
        } else {
            return "{$name} <{$email}>";
        }
    }
protected function getAddressValue(string $email, string $name = null)
    {
        if ($name === null || $name == '') {
            return $email;
        } else {
            return "{$name} <{$email}>";
        }
    }
protected function getAddressValue ( string $ email , string $ name = null ) { if ( $ name === null || $ name == '' ) { return $ email ; } else { return "{$name} <{$email}>" ; } }
Internal helper to get the proper address header value

@param string $email
@param string|null $name

@return string
Internal helper to get the proper address header value