NAME

Email::MIME::RFC2047::Address - Handling of MIME encoded addresses

VERSION

version 0.94

SYNOPSIS

use Email::MIME::RFC2047::Address;

my $address = Email::MIME::RFC2047::Address->parse($string);

if ($address->isa('Email::MIME::RFC2047::Mailbox')) {
   print $address->name(), "\n";
   print $address->address(), "\n";
}

DESCRIPTION

This is the superclass for Email::MIME::RFC2047::Mailbox and Email::MIME::RFC2047::Group.

CLASS METHODS

parse

my $address = Email::MIME::RFC2047::Address->parse($string, [$decoder])

Parses a RFC 2822 address. Returns either a Email::MIME::RFC2047::Mailbox or a Email::MIME::RFC2047::Group object.

AUTHOR

Nick Wellnhofer <wellnhofer@aevum.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Nick Wellnhofer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.