Sisimai::Reason::Filtered - Bounce reason is filtered or not.
filtered
use Sisimai::Reason::Filtered; print Sisimai::Reason::Filtered->match('550 5.1.2 User reject'); # 1
Sisimai::Reason::Filtered checks the bounce reason is filtered or not. This class is called only Sisimai::Reason class.
This is the error that an email has been rejected by a header content after SMTP DATA command. In Japanese cellular phones, the error will incur that a sender's email address or a domain is rejected by recipient's email configuration. Sisimai will set filtered to the reason of email bounce if the value of Status: field in a bounce email is 5.2.0 or 5.2.1.
5.2.0
5.2.1
This error reason is almost the same as UserUnknown.
... while talking to mfsmax.ntt.example.ne.jp.: >>> DATA <<< 550 Unknown user kijitora@ntt.example.ne.jp 554 5.0.0 Service unavailable
text()
text() returns string: filtered.
print Sisimai::Reason::Filtered->text; # filtered
match(string)
match() returns 1 if the argument matched with patterns defined in this class.
match()
print Sisimai::Reason::Filtered->match('550 5.1.2 User reject'); # 1
true(Sisimai::Fact)
true() returns 1 if the bounce reason is filtered. The argument must be Sisimai::Fact object and this method is called only from Sisimai::Reason class.
true()
azumakuniyuki
Copyright (C) 2014-2018,2020-2023 azumakuniyuki, All rights reserved.
This software is distributed under The BSD 2-Clause License.
To install Sisimai, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sisimai
CPAN shell
perl -MCPAN -e shell install Sisimai
For more information on module installation, please visit the detailed CPAN module installation guide.