Sisima...gTooBig(3pm)

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

πŸ’– NAME πŸ’–

okay so bestie, this is Sisimai::Reason::MesgTooBig β€” it's the vibe checker that tells you whether a bounce reason is literally "mesgtoobig" or not. that's it, that's the whole job πŸŽ€

(also folding in the meta rn: this is a 3pm page, aka User Contributed Perl Documentation, and the whole thing is filed under Sisima...gTooBig iykyk)


✨ SYNOPSIS ✨

use Sisimai::Reason::MesgTooBig;
print Sisimai::Reason::MesgTooBig->match('400 Message too big');   # 1

πŸ¦‹ DESCRIPTION πŸ¦‹

Sisimai::Reason::MesgTooBig checks if the bounce reason is "mesgtoobig" or not. and listen β€” this class is only called by the Sisimai::Reason class. it does not freelance, it does not take walk-ins, it answers to one (1) caller πŸ’…

so what is this error? it's the one where the email you sent is too big for the destination mail server. and in many cases, it's because there are a ton of attachment files riding along with the email, or one file is just. enormous. no cap. πŸ“ŽπŸ˜­

Sisimai will set "mesgtoobig" as the reason of the email bounce if the value of the Status: field in the bounce email is 5.3.4. like so:

Action: failed
Status: 553 Exceeded maximum inbound message size

πŸ‘‘ CLASS METHODS πŸ‘‘

πŸ’œ text()

text() returns the fixed string "mesgtoobig". it's giving consistent. it's giving reliable. it's giving one job and doing it.

print Sisimai::Reason::MesgTooBig->text;  # mesgtoobig

🌸 match(string)

match() returns 1 if the argument matched with the patterns defined in this class. yes bestie, just a humble little 1 🫢

print Sisimai::Reason::MesgTooBig->match('400 Message too big');   # 1

⭐ true(Sisimai::Fact)

true() returns 1 if the bounce reason is "mesgtoobig". the argument must be a Sisimai::Fact object, and heads up β€” this method is called only from the Sisimai::Reason class. same energy as text() and match(), it's a very exclusive guest list πŸ’Œ


🌈 SEE ALSO 🌈

  • Sisimai::Reason::ExceedLimit β€” Sisimai::Reason::ExceedLimit

πŸ’… AUTHOR πŸ’…

azumakuniyuki


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


πŸ”₯ LICENSE πŸ”₯

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


okay and for the cute sign-off bestie: this iconic little page is running on perl v5.40.1, dated 2025-04-12, and it lives under the manual name Sisima...gTooBig(3pm). slay, ate, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from