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: deliverable
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 string:
"delivered".
print Sisimai::Reason::Delivered->text; # delivered
"match()" always return undef
"true()" always return undef
Copyright (C) 2016 azumakuniyuki, All rights reserved.
This software is distributed under The BSD 2-Clause License.