DOKK / manpages / debian 12 / libsisimai-perl / Sisimai::Reason::OnHold.3pm.en
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::Data object and this method is called only from Sisimai::Reason class.

azumakuniyuki

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

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

2022-12-23 perl v5.36.0