1Net::DNS::Mailbox(3)  User Contributed Perl Documentation Net::DNS::Mailbox(3)
2
3
4

NAME

6       Net::DNS::Mailbox - DNS mailbox representation
7

SYNOPSIS

9           use Net::DNS::Mailbox;
10
11           $mailbox = new Net::DNS::Mailbox('user@example.com');
12           $address = $mailbox->address;
13

DESCRIPTION

15       The Net::DNS::Mailbox module implements a subclass of DNS domain name
16       objects representing the DNS coded form of RFC822 mailbox address.
17

METHODS

19   new
20           $mailbox = new Net::DNS::Mailbox('John.Doe@example.com');
21           $mailbox = new Net::DNS::Mailbox('John Doe <j.doe@example.com>');
22
23       Creates a mailbox object which represents the DNS domain encoded form
24       of the mail address specified by the character string argument.
25
26       The argument string consists of printable characters from the 7-bit
27       ASCII repertoire.
28
29   address
30           $address = $mailbox->address;
31
32       Returns a character string containing the RFC822 mailbox address
33       corresponding to the encoded domain name representation described in
34       RFC1035 section 8.
35

DOMAIN NAME COMPRESSION AND CANONICALISATION

37       The Net::DNS::Mailbox1035 and Net::DNS::Mailbox2535 subclass packages
38       implement RFC1035 domain name compression and RFC2535 canonicalisation.
39
41       Copyright (c)2009,2012 Dick Franks.
42
43       All rights reserved.
44
45       This program is free software; you may redistribute it and/or modify it
46       under the same terms as Perl itself.
47

SEE ALSO

49       perl, Net::DNS, Net::DNS::DomainName, RFC822, RFC1035, RFC5322
50
51
52
53perl v5.16.3                      2012-12-28              Net::DNS::Mailbox(3)
Impressum