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

NAME

6       Mail::SPF::v1::Record - SPFv1 record class
7

SYNOPSIS

9       See Mail::SPF::Record.
10

DESCRIPTION

12       An object of class Mail::SPF::v1::Record represents an SPFv1 ("v=spf1")
13       record.
14
15   Constructors
16       The following constructors are provided:
17
18       new(%options): returns Mail::SPF::v1::Record
19           Creates a new SPFv1 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               See "new" in Mail::SPF::Record.  Since SPFv1 records always
31               implicitly cover the "helo" and "mfrom" scopes, this option
32               must either be exactly ['helo', 'mfrom'] (or ['mfrom', 'helo'])
33               or be omitted.
34
35       new_from_string($text, %options): returns Mail::SPF::v1::Record; throws
36       Mail::SPF::ENothingToParse, Mail::SPF::EInvalidRecordVersion,
37       Mail::SPF::ESyntaxError
38           Creates a new SPFv1 record object by parsing the string and any
39           options given.
40
41   Class methods
42       The following class methods are provided:
43
44       version_tag_pattern: returns Regexp
45           Returns a regular expression that matches a version tag of
46           'v=spf1'.
47
48       default_qualifier
49       results_by_qualifier
50           See "Class methods" in Mail::SPF::Record.
51
52   Instance methods
53       The following instance methods are provided:
54
55       text
56       scopes
57       terms
58       global_mods
59       global_mod
60       stringify
61       eval
62           See "Instance methods" in Mail::SPF::Record.
63
64       version_tag: returns string
65           Returns 'v=spf1'.
66

SEE ALSO

68       Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech,
69       Mail::SPF::Mod
70
71       <http://tools.ietf.org/html/rfc4408>
72
73       For availability, support, and license information, see the README file
74       included with Mail::SPF.
75

AUTHORS

77       Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
78
79
80
81perl v5.36.0                      2023-01-20          Mail::SPF::v1::Record(3)
Impressum