METHODS

Constructors

See Constructors in Mail::Field

$class->combine( $fields )
See combine in Mail::Field.
$class->extract( $tag, $head [, $index ] )
See extract in Mail::Field.
$class->new( $tag [, STRING | %options] )
See new in Mail::Field.

"Fake" constructors

$obj->create( %options )
See create in Mail::Field.
$obj->parse
See parse in Mail::Field.

Accessors

$obj->set( %options )
See set in Mail::Field.
$obj->stringify
See stringify in Mail::Field.
$obj->tag
$class->tag
See tag in Mail::Field.

Smart accessors

$obj->addr_list

Returns the collected Mail::Address objects.

$obj->addresses

Returns a list if email addresses, found in the field content.

$obj->names

Returns a list of nicely formatted named, for each of the addresses found in the content.

$obj->set_address( $email, $name )

Add/replace an $email address to the field.

$obj->text( [STRING] )
See text in Mail::Field.