Sisima...dLimit(3pm)

πŸ“¦
version 5.3.0 Β· 4 versions
, in debian trixie, ubuntu questing

πŸ’– Sisimai::Reason::ExceedLimit β€” the manual, but make it cute πŸ’–

okay bestie, you found the perl doc for Sisimai::Reason::ExceedLimit (it's a 3pm page, User Contributed Perl Documentation, iykyk) and honestly? it's giving "small class, big feelings." let's get into it 🫢


✨ NAME ✨

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


🌸 SYNOPSIS 🌸

use Sisimai::Reason::ExceedLimit;
print Sisimai::Reason::ExceedLimit->match; # 0

load it up, call match, get a 0. slay. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so Sisimai::Reason::ExceedLimit is the vibe-checker that asks: is this bounce reason "exceedlimit", or not? πŸ‘€ and lowkey important β€” this class is called only by the Sisimai::Reason class. like, it has one bestie and that bestie is Sisimai::Reason. no cap.

so what is this error? it's the one where a message gets rejected because the email exceeded the limit. the DSN value is 5.2.3. and fr fr, this reason is almost the same as "MesgTooBig" β€” we think so anyway. 🫠

here's what it looks like in the wild:

... while talking to mx.example.org.:
>>> MAIL From:<kijitora@example.co.jp> SIZE=16600348
<<< 552 5.2.3 Message size exceeds fixed maximum message size (10485760)
554 5.0.0 Service unavailable

see that 552 5.2.3? yeah. that's the moment. 😭


πŸ‘‘ CLASS METHODS πŸ‘‘

πŸ’œ text()

the text() method returns the fixed string "exceedlimit". iconic, consistent, never changes her mind.

print Sisimai::Reason::ExceedLimit->text;  # exceedlimit

πŸ’œ match(string)

the match() method returns 1 if the argument matched with the patterns defined in this class.

print Sisimai::Reason::ExceedLimit->match; # 0;

πŸ’œ true(Sisimai::Fact)

the true() method returns 1 if the bounce reason is "exceedlimit". heads up bestie β€” the argument must be a Sisimai::Fact object, and this method is called only from the Sisimai::Reason class. main character energy, but with strict boundaries. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

  • Sisimai::Reason::MesgTooBig β€” Sisimai::Reason::MesgTooBig

(yeah they're twins basically, we said what we said πŸ“)


🌈 AUTHOR 🌈

azumakuniyuki β€” the legend themself πŸ‘‘


Copyright (C) 2014-2016,2018,2020,2021,2024 azumakuniyuki, All rights reserved.


⭐ LICENSE ⭐

This software is distributed under The BSD 2-Clause License.


and that's the whole page, bestie!! this one shipped in perl v5.40.1 and the page is dated 2025-04-12 β€” so go forth, check those bounce reasons, and remember: if it's 5.2.3, it's giving exceedlimit. periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from