Sisima...ejected(3pm)

πŸ’– Sisima...ejected β€” the perl manual page, but make it cute πŸ’–

okay bestie so this is a page from the User Contributed Perl Documentation set, and yes the pager title got cropped into Sisima...ejected(3pm) which is iconic of it honestly. The manual name is right there in the suffix: 3pm β€” a Perl module man page. Let's get into it πŸ¦‹


✨ NAME ✨

Sisimai::Reason::Rejected β€” tells you whether a bounce reason is "rejected" or not. that's it, that's the whole job πŸ’…


✨ SYNOPSIS ✨

the vibe check in code form:

use Sisimai::Reason::Rejected;
print Sisimai::Reason::Rejected->match('550 Address rejected');   # 1

that # 1 at the end? that's a yes. slay βœ…


✨ DESCRIPTION ✨

so Sisimai::Reason::Rejected checks whether the bounce reason is "rejected" or not. no cap, that's literally its entire personality.

🫢 heads up: this class is called only from the Sisimai::Reason class. like, she does not take walk-ins. it's an exclusive thing.

okay so what is this error, you ask? it's the one where the SMTP connection to the destination server was rejected by the sender's email address β€” that's the envelope from, bestie, the MAIL FROM of it all.

Sisimai sets "rejected" as the email bounce reason if either of these is true:

  1. the value of the Status: field in the bounce email is 5.1.8, or
  2. the SMTP connection has been rejected due to the argument of the SMTP MAIL command.

here's what that actually looks like in the wild 🌸:

<kijitora@example.org>:
Connected to 192.0.2.225 but sender was rejected.
Remote host said: 550 5.7.1 <root@nijo.example.jp>... Access denied

see that? Connected to 192.0.2.225 but sender was rejected. β€” the server said absolutely not to your envelope sender. rude of them, honestly 😭


✨ CLASS METHODS ✨

🌟 text()

text() returns the fixed string "rejected". it does not think about it. it does not improvise. it just says rejected.

print Sisimai::Reason::Rejected->text;  # rejected

🌟 match(string)

match() returns 1 if the argument matched with the patterns defined in this class. give her a string, she gives you a verdict πŸ’…

print Sisimai::Reason::Rejected->match('550 Address rejected');   # 1

🌟 true(Sisimai::Fact)

true() returns 1 if the bounce reason is "rejected".

⚠️ okay important: the argument must be a Sisimai::Fact object, and this method is called only from the Sisimai::Reason class. don't just hand it a random thing, bestie, she will not know what to do with it πŸ™ˆ

✨ AUTHOR ✨

azumakuniyuki πŸ‘‘


Copyright (C) 2014-2019,2021-2026 azumakuniyuki, All rights reserved.


✨ LICENSE ✨

this software is distributed under The BSD 2-Clause License. go off, open source πŸŽ€


and that's the whole page, bestie πŸ¦‹ no notes, ate and left no crumbs.

little sign-off for you: this shipped as perl v5.40.1, dated 2026-07-05, and it lives in the User Contributed Perl Documentation collection (the 3pm shelf). mwah πŸ’–

πŸ“¦ where this page comes from