Create a new Mail::Address
object which represents an address with the
elements given. In a message these 3 elements would be seen like:
PHRASE <ADDRESS> (COMMENT) ADDRESS (COMMENT)
Mail::Address->new("Perl5 Porters", "perl5-porters@africa.nicoh.com");
Return the address part of the object.
Return the comment part of the object
Return a string representing the address in a suitable form to be placed
on a To
, Cc
, or Bcc
line of a message. This method is called on
the first ADDRESS to be used; other specified ADDRESSes will be appended,
separated with commas.
Return the phrase part of the object.
Return the address excluding the user id and '@'
Return the address excluding the '@' and the mail domain