1Mail::SPF::Mech::All(3)User Contributed Perl DocumentatioMnail::SPF::Mech::All(3)
2
3
4
6 Mail::SPF::Mech::All - SPF record "all" mechanism class
7
9 An object of class Mail::SPF::Mech::All represents an SPF record
10 mechanism of type "all".
11
12 Constructors
13 The following constructors are provided:
14
15 new: returns Mail::SPF::Mech::All
16 Creates a new SPF record "all" mechanism object.
17
18 %options is a list of key/value pairs representing any of the
19 following options:
20
21 qualifier
22 See "new" in Mail::SPF::Mech.
23
24 new_from_string($text, %options): returns Mail::SPF::Mech::All; throws
25 Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech
26 Creates a new SPF record "all" mechanism object by parsing the
27 string and any options given.
28
29 Class methods
30 The following class methods are provided:
31
32 default_qualifier
33 qualifier_pattern
34 See "Class methods" in Mail::SPF::Mech.
35
36 name: returns string
37 Returns 'all'.
38
39 name_pattern: returns Regexp
40 Returns a regular expression that matches a mechanism name of
41 'all'.
42
43 Instance methods
44 The following instance methods are provided:
45
46 text
47 qualifier
48 name
49 stringify
50 See "Instance methods" in Mail::SPF::Mech.
51
52 match($server, $request): returns boolean
53 Returns true because the "all" mechanism always matches. See RFC
54 4408, 5.1, for details.
55
57 Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech
58
59 <http://tools.ietf.org/html/rfc4408>
60
61 For availability, support, and license information, see the README file
62 included with Mail::SPF.
63
65 Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org>
66
67
68
69perl v5.36.0 2023-01-20 Mail::SPF::Mech::All(3)