Sisima...nknown(3pm)
β¨ NAME β¨
okay so bestie, welcome to Sisima...nknown(3pm) β she's a Perl module and her whole name is Sisimai::Reason::HostUnknown, and her entire job? figuring out whether a bounce reason is hostunknown or not π
no cap.
πΈ SYNOPSIS πΈ
literally just this, it's giving minimal:
use Sisimai::Reason::HostUnknown;
print Sisimai::Reason::HostUnknown->match('550 5.2.1 Host Unknown'); # 1
π¦ DESCRIPTION π¦
Sisimai::Reason::HostUnknown does a vibe check on whether the bounce reason is hostunknown or not. periodt. and heads up β this class is called only by the Sisimai::Reason class, so she's not out here taking walk-ins, iykyk.
so what even is this error? it's when the domain part of the recipient's email address β aka the right hand side of the @ sign β does not exist π. in many cases the domain part is just misspelled, or the domain name has been expired. classic. it's giving typo energy.
Sisimai will set hostunknown to the reason of the email bounce if the value of the Status: field in a bounce mail is 5.1.2. the receipts look like this:
Your message to the following recipients cannot be delivered:
<kijitora@example.cat>:
<<< No such domain.
π CLASS METHODS π
text()
text() method returns the fixed string hostunknown. that's it. she said consistency. π
print Sisimai::Reason::HostUnknown->text; # hostunknown
match(string)
match() method returns 1 if the argument matched with patterns defined in this class. match made in heaven fr fr β¨
print Sisimai::Reason::HostUnknown->match('550 5.2.1 Host Unknown'); # 1
true(Sisimai::Fact)
true() method returns 1 if the bounce reason is hostunknown. the argument must be a Sisimai::Fact object β no substitutions, bestie β and this method is called only from the Sisimai::Reason class.
π AUTHOR π
azumakuniyuki β the icon, the moment, the main character π
π COPYRIGHT π
Copyright (C) 2014-2018,2020,2021,2023-2026 azumakuniyuki, All rights reserved.
π LICENSE π
This software is distributed under The BSD 2-Clause License. slay, legally speaking π
okay and for the cute sign-off: this lil page is documented for perl v5.40.1, dated 2026-07-05, and it lives in the User Contributed Perl Documentation section. read it, love it, ship it π«Άπ
π¦ 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