The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mail::Message::Field::AddrGroup - A group of Mail::Message::Field::Address objects

INHERITANCE

 Mail::Message::Field::AddrGroup
   is a Mail::Reporter

SYNOPSIS

 !! UNDER CONSTRUCTION !!
 my $g = Mail::Message::Field::AddrGroup->new('name');

 my $a = Mail::Message::Field::Address->new(...);
 $g->addAddress($a);
 
 my $f = Mail::Message::Field::Addresses->new;
 $f->addGroup($g);

DESCRIPTION

METHODS

Constructors

Mail::Message::Field::AddrGroup->new(DATA)

     Option  Defined in       Default      
     log     L<Mail::Reporter>  C<'WARNINGS'>
     trace   L<Mail::Reporter>  C<'WARNINGS'>

    . log LEVEL

    . trace LEVEL

    Example:

The group

$obj->addAddress(ADDRESS|OPTIONS)

$obj->name

    Returns the name of this group.

$obj->string

    Returns the address group as string.

The addresses

$obj->addresses

    Returns all addresses defined in this group.

Error handling

$obj->AUTOLOAD

$obj->defaultTrace([LEVEL, [LEVEL])

Mail::Message::Field::AddrGroup->defaultTrace([LEVEL, [LEVEL])

$obj->errors

$obj->log([LEVEL [,STRINGS]])

Mail::Message::Field::AddrGroup->log([LEVEL [,STRINGS]])

$obj->logPriority(LEVEL)

Mail::Message::Field::AddrGroup->logPriority(LEVEL)

$obj->logSettings

$obj->notImplemented

$obj->report([LEVEL])

$obj->reportAll([LEVEL])

$obj->trace([LEVEL])

$obj->warnings

Cleanup

$obj->DESTROY

$obj->inGlobalDestruction

DIAGNOSTICS

Error: Package $package does not implement $method.

Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package.

REFERENCES

See the Mail::Box website at http://perl.overmeer.net/mailbox/ for more details.

COPYRIGHTS

Module version 2.041. Written by Mark Overmeer (mark@overmeer.net). See the ChangeLog for other contributors.

Copyright (c) 2001-2003 by the author(s). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.