Sisima...ommand(3pm)
π Sisimai::SMTP::Command β the Perl page, but make it cute
okay so bestie, welcome to Sisimai::SMTP::Command π this lives in the User Contributed Perl Documentation, section 3pm β yes, the Sisima...ommand(3pm) one, she's real, she's here, she's serving. π«Ά
β¨ NAME β¨
Sisimai::SMTP::Command β SMTP Command related utilities π
β¨ SYNOPSIS β¨
use Sisimai::SMTP::Command;
Sisimai::SMTP::Command->find('in reply to RCPT TO command'); # RCPT
like, that's it. that's the whole vibe. one use, one call, and she hands you RCPT. π
β¨ DESCRIPTION β¨
Sisimai::SMTP::Command is a class for finding the last SMTP command from a given error message. that's her whole job and she does it flawlessly, no notes. π₯
so you hand her some messy bounce-y error text, and she digs through it and tells you which SMTP command was the last one being talked about. main character energy fr fr. π
πΈ CLASS METHODS πΈ
π test(String)
the test() method checks whether the SMTP command is a valid command or not β like a little vibe check for command strings. β
print Sisimai::SMTP::Command->test('STARTTLS'); # 1
print Sisimai::SMTP::Command->test('NEKO'); # 0
STARTTLS? valid, she said 1. NEKO? not a command bestie, that's a cat, she said 0. ππ
π find(String)
the find() method returns the last SMTP command, like the following: π
print Sisimai::SMTP::Command->find('MAIL FROM: <> 250 OK RCPT TO: <...> 550'); # "RCPT"
see how she ignored MAIL FROM: <> and clocked the RCPT? obsessed. she only cares about the last one. periodt. π
β¨ AUTHOR β¨
azumakuniyuki β the icon, the legend, the moment. π
β¨ COPYRIGHT β¨
Copyright (C) 2022-2026 azumakuniyuki, All rights reserved. π
β¨ LICENSE β¨
This software is distributed under The BSD 2-Clause License. π β permissive, chill, iconic behavior. π¦
and that's the whole page bestie!! no cap, every last crumb of it. π
this little cutie was brought to you by perl v5.40.1, dated 2026-07-05 πΈ β so go forth, find your SMTP commands, and slay. πβ¨π
π¦ 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