1Mail::SPF::v2::Record(3U)ser Contributed Perl DocumentatiMoanil::SPF::v2::Record(3)
2
3
4

NAME

6       Mail::SPF::v2::Record - Sender ID ("spf2.0") record class
7

SYNOPSIS

9       See Mail::SPF::Record.
10

DESCRIPTION

12       An object of class Mail::SPF::v2::Record represents a Sender ID
13       ("spf2.0") record.
14
15   Constructors
16       The following constructors are provided:
17
18       new(%options): returns Mail::SPF::v2::Record
19           Creates a new Sender ID ("spf2.0") record object.
20
21           %options is a list of key/value pairs representing any of the
22           following options:
23
24           text
25           terms
26           global_mods
27               See "new" in Mail::SPF::Record.
28
29           scopes
30               Required.  See "new" in Mail::SPF::Record.  The 'mfrom' and
31               'pra' scopes are supported.  There is no default.
32
33       new_from_string($text, %options): returns Mail::SPF::v2::Record; throws
34       Mail::SPF::ENothingToParse, Mail::SPF::EInvalidRecordVersion,
35       Mail::SPF::ESyntaxError
36           Creates a new Sender ID ("spf2.0") record object by parsing the
37           string and any options given.
38
39   Class methods
40       The following class methods are provided:
41
42       version_tag_pattern: returns Regexp
43           Returns a regular expression that matches a version tag of
44           'spf2.0/' plus a comma-separated list of any of the 'mfrom' and
45           'pra' scopes.  The following are valid version tags:
46
47               spf2.0/mfrom
48               spf2.0/pra
49               spf2.0/mfrom,pra
50               spf2.0/pra,mfrom
51
52       default_qualifier
53       results_by_qualifier
54           See "Class methods" in Mail::SPF::Record.
55
56   Instance methods
57       The following instance methods are provided:
58
59       text
60       scopes
61       terms
62       global_mods
63       global_mod
64       stringify
65       eval
66           See "Instance methods" in Mail::SPF::Record.
67
68       version_tag: returns string
69           Returns 'spf2.0/' plus a comma-separated list of the scopes of the
70           record.  See "version_tag_pattern" for a list of possible return
71           values.
72

SEE ALSO

74       Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech,
75       Mail::SPF::Mod
76
77       <http://tools.ietf.org/html/rfc4408>
78
79       For availability, support, and license information, see the README file
80       included with Mail::SPF.
81

AUTHORS

83       Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
84
85
86
87perl v5.28.1                      2019-02-02          Mail::SPF::v2::Record(3)
Impressum