Mail::...RFC2919(3pm)

πŸ“¦
version 1.04 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ Mail::ListDetector::Detector::RFC2919 ✨

okay bestie, gather round 🫢 this is the <pink>Mail::...RFC2919</pink> page from the User Contributed Perl Documentation, and it's literally the moment your mailing-list-detection era begins. no cap.


🌸 NAME 🌸

Mail::ListDetector::Detector::RFC2919 β€” the RFC2919 message detector. she detects. that's the whole vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

use Mail::ListDetector::Detector::RFC2919;

one line. iconic. that's it. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

so basically this is an implementation of a mailing list detector β€” yes, an actual detector β€” built specifically for mailing lists that are RFC2919 compliant. and what does "RFC2919 compliant" mean, you ask? it means those lists that have List-ID lines just chilling in the header. πŸ‘‘

if the header's got the List-ID, she's on the case. periodt.


πŸ‘‘ METHODS πŸ‘‘

🌈 new()

Inherited from Mail::ListDetector::Detector::Base. she didn't write this one herself, she inherited it. generational wealth, honestly. πŸ’œ

⭐ match()

Accepts a Mail::Internet object and returns either:

  • a Mail::ListDetector::List object β€” if it is a post to a RFC2919 compliant mailing list πŸ”₯
  • undef β€” if it is not 😭

and here's the tea: since RFC2919 only specifies a (mostly) unique ID for a mailing list β€” just the ID, that's all she gives you β€” Mail::ListDetector::Detector::RFC2369 gets called in to attempt to extract further information about the list. teamwork makes the dream work, fr fr. 🫢


πŸ’€ BUGS πŸ’€

No known bugs. she's flawless. not a single one. we love a clean record. ✨


🧚 AUTHOR 🧚

  • Michael Stevens β€” michael@etla.org
  • Peter Oliver β€” p.d.oliver@mavit.freeserve.co.uk

two absolute legends. πŸ‘‘


and that's the whole page, bestie β€” no notes, she ate. this was perl v5.36.0, dated 2022-11-29, brought to you by the User Contributed Perl Documentation. mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from