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 <john.doe@example.com>');
21           $mailbox = new Net::DNS::Mailbox('john.doe@example.com');
22           $mailbox = new Net::DNS::Mailbox('john\.doe.example.com');
23
24       Creates a mailbox object representing the RFC822 mail address specified
25       by the character string argument. An encoded domain name is also
26       accepted for backward compatibility with Net::DNS 0.68 and earlier.
27
28       The argument string consists of printable characters from the 7-bit
29       ASCII repertoire.
30
31   address
32           $address = $mailbox->address;
33
34       Returns a character string containing the RFC822 mailbox address
35       corresponding to the encoded domain name representation described in
36       RFC1035 section 8.
37

DOMAIN NAME COMPRESSION AND CANONICALISATION

39       The Net::DNS::Mailbox1035 and Net::DNS::Mailbox2535 subclass packages
40       implement RFC1035 domain name compression and RFC2535 canonicalisation.
41
43       Copyright (c)2009,2012 Dick Franks.
44
45       All rights reserved.
46

LICENSE

48       Permission to use, copy, modify, and distribute this software and its
49       documentation for any purpose and without fee is hereby granted,
50       provided that the above copyright notice appear in all copies and that
51       both that copyright notice and this permission notice appear in
52       supporting documentation, and that the name of the author not be used
53       in advertising or publicity pertaining to distribution of the software
54       without specific prior written permission.
55
56       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
57       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
58       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
59       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
60       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
61       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
62       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
63

SEE ALSO

65       perl, Net::DNS, Net::DNS::DomainName, RFC1035, RFC5322 (RFC822)
66
67
68
69perl v5.32.0                      2020-07-28              Net::DNS::Mailbox(3)
Impressum