Mail-MboxParser
view release on metacpan or search on metacpan
MboxParser/Mail.pm view on Meta::CPAN
print $recipient->{name} || "<no name>", "\n";
print $recipient->{email};
}
The same 'name'-smartness applies here as described under C<from()>.
=back
=cut
sub to() { shift->_recipients("to") }
# ----------------------------------------------------------------
=over 4
=item B<cc>
Identical with to() but returning the hash-refed "Cc: "-line.
The same 'name'-smartness applies here as described under C<from()>.
=back
=cut
sub cc() { shift->_recipients("cc") }
# ----------------------------------------------------------------
=over 4
=item B<id>
Returns the message-id of a message cutting off the leading and trailing '<'
and '>' respectively.
=back
=cut
sub id() {
my $self = shift;
$self->reset_last;
$self->header->{'message-id'} =~ /\<(.*)\>/;
$1;
}
# ----------------------------------------------------------------
# --------------------
# MIME-related methods
( run in 1.782 second using v1.01-cache-2.11-cpan-524268b4103 )