Sisima...rError(3pm)
π
Sisimai::Reason::MailerError β the perl 3pm page you're currently reading (header calls it Sisima...rError(3pm) bc terminals love to truncate βοΈ)
okay bestie, sit down, we're doing perl module lore today π
β¨ NAME β¨
Sisimai::Reason::MailerError β tells you whether a bounce reason is "mailererror" or not. that's it. that's the whole job. she's niche but she's essential π
β¨ SYNOPSIS β¨
use Sisimai::Reason::MailerError;
print Sisimai::Reason::MailerError->match('X-Unix; 255'); # 1
literally two lines and you're already getting a 1 back. slay. π«Ά
β¨ DESCRIPTION β¨
so Sisimai::Reason::MailerError checks if the bounce reason is "mailererror" or not. no cap. and here's the tea: this class is called only from the Sisimai::Reason class. she does not take walk-ins, she is booked and busy π
what is a mailererror, you ask? it's the error you get when the mailer program has not exited successfully, or exited unexpectedly, on the destination mail server. the mailer said "i'm fine" and then was very much not fine. iconic behavior honestly π
here's what that looks like in the wild:
X-Actual-Recipient: X-Unix; |/home/kijitora/mail/catch.php
Diagnostic-Code: X-Unix; 255
the 255 is the mailer throwing up its hands and leaving the group chat. π
β¨ CLASS METHODS β¨
πΈ text()
text() method returns the fixed string "mailererror". that's it. it's a string. it's fixed. she's consistent.
print Sisimai::Reason::MailerError->text; # mailererror
πΈ match(string)
match() method returns 1 if the argument matched with patterns defined in this class. patterns live in the class, the argument comes from you, and when they vibe together you get a 1 β¨
print Sisimai::Reason::MailerError->match('X-Unix; 255'); # 1
πΈ true(Sisimai::Fact)
true() method returns 1 if the bounce reason is "mailererror".
heads up bestie π¨ the argument must be aSisimai::Factobject, and this method is called only from theSisimai::Reasonclass. don't just pass it vibes, pass it the right object fr fr.
β¨ AUTHOR β¨
azumakuniyuki β the author. the main character. the moment. π
β¨ COPYRIGHT β¨
Copyright (C) 2014-2017,2020,2021,2023-2025 azumakuniyuki, All rights reserved.
(note the gap years β 2018, 2019 and 2022 were clearly rest years and honestly? respect the work-life balance π)
β¨ LICENSE β¨
this software is distributed under The BSD 2-Clause License. permissive, generous, a whole green flag π
and that's the page!! this doc came to you courtesy of perl v5.40.1, dated 2026-07-05 β so she's got the 3pm page energy, the truncated header energy (Sisima...rError(3pm), we don't know her full name either apparently π), and she ate. no notes. periodt πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: libsisimai-perl 5.7.0-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms