Skip to content

get_first_named

headers:get_first_named(NAME)
Since: Version 2025.10.06-5ec871ab

The functionality described in this section requires version 2025.10.06-5ec871ab of KumoMTA, or a more recent version.

Gets the first header whose name equals NAME (case insensitive) and return the Header object for that header.

Returns nil if no matching header could be found.