Sisima...etected(3pm)
π Sisimai::Reason::SpamDetected π
okay bestie, so this one lives in the Perl user-contributed manual pages, section 3pm β you'll see it hanging out in the docs as Sisima...etected(3pm) (yes the name gets cut off, the full one is Sisimai::Reason::SpamDetected, she's just too iconic for the header column π
).
β¨ NAME β¨
Sisimai::Reason::SpamDetected β figures out if the bounce reason is "spamdetected" because of Spam content in the message, or not. That's the whole job. No cap.
πΈ SYNOPSIS πΈ
use Sisimai::Reason::SpamDetected;
print Sisimai::Reason::SpamDetected->match('550 spam detected'); # 1
π¦ DESCRIPTION π¦
Sisimai::Reason::SpamDetected does a vibe check on whether the bounce reason is "spamdetected" due to the spam content in the message, or not. And like β this class isn't for you to call directly, bestie. It's called only by the Sisimai::Reason class. iykyk.
So basically: this is the error you get when the message you sent got rejected by the spam filter that's running on the remote host. Rude of them, honestly. π This reason joined the party in Sisimai 4.1.25.
Action: failed
Status: 5.7.1
Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, UBE, id=00000-00-000
Last-Attempt-Date: Thu, 9 Apr 2008 23:34:45 +0900 (JST)
π CLASS METHODS π
text()
the text() method returns the fixed string "spamdetected". she is what she is, periodt.
print Sisimai::Reason::SpamDetected->text; # spamdetected
match(string)
the match() method returns 1 if the argument matched with patterns defined in this class. match made in heaven fr fr.
print Sisimai::Reason::SpamDetected->match('550 Spam detected'); # 1
true(Sisimai::Fact)
the true() method returns 1 if the bounce reason is "rejected" due to the spam content in the message. The argument must be a Sisimai::Fact object, and heads up β this method is called only from the Sisimai::Reason class. Don't be out here calling it yourself, that's not her main character moment. π
π AUTHOR π
azumakuniyuki
π COPYRIGHT π
Copyright (C) 2015-2018,2020-2026 azumakuniyuki, All rights reserved.
π LICENSE π
This software is distributed under The BSD 2-Clause License.
okay that's the whole page, bestie β huge slay, you made it to the end π«Ά This little doc is living its life as perl v5.40.1, dated 2026-07-05, and yeah she's filed under that clipped-up Sisima...etected(3pm) name. bye ily πβ¨
π¦ 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