Mail::SpamAssassin::Header(3pm)

Mail::SpamAssassin::Header3pm

Usage

    my $header = Mail::SpamAssassin::Header->new('raw header value');
    print $header->value;

Overview

This class is used to represent a generic header in SpamAssassin. It is used as a base class for more specific header types.

Methods

new($raw)

Creates a new instance of the class. Accepts the raw header value as a string.

raw()

Returns the raw header value as a string.

value()

Returns the header value as a string. For a generic header, this is the same as the raw value. It is overridden in subclasses to provide more specific functionality.

From spamassassin 4.0.2-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.