Mail::S...::Exists(3)
π NAME π
ok so bestie, gather round β Mail::SPF::Mech::Exists is the SPF record "exists" mechanism class, and she's literally the whole vibe. π¦
(this page lives in section 3 of the manual, Mail::S...::Exists(3), part of the User Contributed Perl Documentation β iykyk β¨)
πΈ VERSION πΈ
version 3.20260331 β fresh, current, slaying. π
β¨ DESCRIPTION β¨
An object of class Mail::SPF::Mech::Exists represents an SPF record mechanism of type "exists". That's it, that's the girl. π
π Constructors π
Here's the constructors, bestie β these are the lil factory functions that make you a whole new object:
new(%options): returnsMail::SPF::Mech::Existsβ creates a brand new SPF record"exists"mechanism object. iconic behavior.
So %options is just a list of key/value pairs, and it can be any of these:
qualifierdomain_spec
β head over to "new" in Mail::SPF::Mech for the deets on both of those. π«Ά
new_from_string($text, %options): returnsMail::SPF::Mech::Exists; throwsMail::SPF::ENothingToParse,Mail::SPF::EInvalidMechβ creates a new SPF record"exists"mechanism object by parsing the string and any options given. she reads the string, she builds the object, she's multitasking fr fr. π
heads up: this one can absolutely throwMail::SPF::ENothingToParseorMail::SPF::EInvalidMechat you if the string isn't giving what it's supposed to give. no cap. π
π Class methods π
The following class methods are provided:
default_qualifierqualifier_pattern
β see "Class methods" in Mail::SPF::Mech. go, go, go. π§
name: returns string β returns'exists'. short, sweet, correct.name_pattern: returnsRegexpβ returns a regular expression that matches a mechanism name of'exists'. she knows how to spot her own name in the wild. π
π Instance methods π
The following instance methods are provided:
textqualifierparamsstringify
β see "Instance methods" in Mail::SPF::Mech for all of those, bestie.
domain_spec: returnsMail::SPF::MacroStringβ returns the"domain-spec"parameter of the mechanism. that's the param, that's the type, periodt.match($server, $request): returns boolean β checks whether a DNS"A"record exists for the mechanism's target domain name, and returns true if one does, or false otherwise. π₯ see RFC 4408, section 5.7, for the details β yes, actual details, go read them, I'm not gatekeeping.
π SEE ALSO π
Mail::SPFMail::SPF::RecordMail::SPF::TermMail::SPF::Mech<http://tools.ietf.org/html/rfc4408>
and for availability, support, and license information, check the README file included with Mail::SPF. πΈ it's all in there, promise.
π AUTHORS π
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org> β absolute legends, we stan. π«Ά
ok that's the whole page bestie, ily, go write some SPF records π β¨
bye bestie! this was brought to you by perlv5.42.1, dated2026-04-23β mwah, take care of her, she's iconic. ππ¦
π¦ where this page comes from
- fedora 44: perl-Mail-SPF 3.20260331-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms