Sisimai::Reason::Suppressed3pm
Bounce reason is "suppressed" or not.
Usage
use Sisimai::Reason::Suppressed;print Sisimai::Reason::Suppressed->match('address [email protected] in the suppression list'); # 1
Overview
"Sisimai::Reason::Suppressed" checks the bounce reason is "suppressed" or not. This class is called only "Sisimai::Reason" class.
This is the error that the recipient adddress is listed in the suppression list of the relay server, and was not delivered.
Class methods
"text()"
text() method returns the fixed string "suppressed".
print Sisimai::Reason::Suppressed->text; # suppressed
"match(string)"
match() method returns 1 if the argument matched with patterns defined in this class.
print Sisimai::Reason::Suppressed->match('address [email protected] is in the suppression list'); # 1
"true(Sisimai::Fact)"
true() method returns 1 if the bounce reason is "suppressed". The argument must be "Sisimai::Fact" object and this method is called only from "Sisimai::Reason" class.