Sisimai::Reason::OnHold(3pm) User Contributed Perl Documentation Sisimai::Reason::OnHold(3pm)

Sisimai::Reason::OnHold - Bounce reason is "onhold" or not.

    use Sisimai::Reason::OnHold;
    print Sisimai::Reason::OnHold->match; # 0

Sisimai::Reason::OnHold checks the bounce reason is "onhold" or not. This class is called only Sisimai::Reason class. Sisimai will set "onhold" to the reason of email bounce if there is no (or less) detailed information about email bounce for judging the reason.

text() returns string: "onhold".

    print Sisimai::Reason::OnHold->text;  # onhold

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

    print Sisimai::Reason::OnHold->match; # 0;

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

azumakuniyuki

Copyright (C) 2014-2016,2018,2020,2021 azumakuniyuki, All rights reserved.

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

2024-03-03 perl v5.38.2