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 (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