Sisimai::Reason::Speeding(3pm)

Sisimai::Reason::Speeding3pm

Bounce reason is "speeding" or not.

Usage

    use Sisimai::Reason::Speeding;
    my $v = '451 4.7.1 <mx.example.jp[192.0.2.2]>: Client host rejected: Please try again slower';
    print Sisimai::Reason::Speeding->match($v); # 1

Overview

"Sisimai::Reason::Speeding" checks the bounce reason is "speeding" or not. This class is called only "Sisimai::Reason" class. This is the error that the SMTP connection rejected due to exceeding a rate limit or sending too fast.

Class methods

"text()"

text() method returns the fiexed string "speeding".

    print Sisimai::Reason::Speeding->text;  # speeding

"match(string)"

match() method returns 1 if the argument matched with patterns defined in this class.

    my $v = '451 4.7.1 <mx.example.jp[192.0.2.2]>: Client host rejected: Please try again slower';
    print Sisimai::Reason::Speeding->match($v); # 1

"true(Sisimai::Fact)"

true() method returns 1 if the bounce reason is "speeding". The argument must be "Sisimai::Fact" object and this method is called only from "Sisimai::Reason" class.

Author

azumakuniyuki

License

This software is distributed under The BSD 2-Clause License.

From libsisimai-perl 5.3.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.