DOKK / manpages / debian 13 / libsisimai-perl / Sisimai::Reason::Delivered.3pm.en
Sisimai::Reason::Delivered(3pm) User Contributed Perl Documentation Sisimai::Reason::Delivered(3pm)

Sisimai::Reason::Delivered - Email delivered successfully

    use Sisimai::Reason::Delivered;
    print Sisimai::Reason::Delivered->text; # delivered

"Sisimai::Reason::Delivered" checks the email you sent is delivered successfully or not by matching diagnostic messages with message patterns. Sisimai will set "delivered" to the value of "reason" when "Status:" field in the bounce message begins with 2 like following:

    Final-Recipient: rfc822; kijitora@neko.nyaan.jp
    Action: delivered
    Status: 2.1.5
    Diagnostic-Code: SMTP; 250 2.1.5 OK

This class is called only "Sisimai-"reason()> method. This is NOT AN ERROR reason.

text() returns the fixed string "delivered".

    print Sisimai::Reason::Delivered->text;  # delivered

match() method always return "undef"

true() method always return "undef"

azumakuniyuki

Copyright (C) 2016,2020,2021,2024 azumakuniyuki, All rights reserved.

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

2025-04-12 perl v5.40.1