Scroll to navigation

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

NAME

Sisimai::Reason - Detect the bounce reason

SYNOPSIS

    use Sisimai::Reason;

DESCRIPTION

"Sisimai::Reason" detects the bounce reason from the content of "Sisimai::Fact" object as an argument of get() method. This class is called only "Sisimai::Fact" class.

CLASS METHODS

"get(Sisimai::Fact Object)"

get() method detects the bounce reason.

"anotherone(Sisimai::Fact object)"

anotherone() method is a method for detecting the bounce reason, it works as a fall back method of get() and called only from get() method.

match() detects the bounce reason from given text as a error message.

"match(String)"

match() method is a method for detecting the bounce reason from the string given as an argument of the method. However, this method is low analytical precision.

LIST OF BOUNCE REASONS

"Sisimai::Reason-"get()> method detects the reason of bounce with decoding the bounced messages. The following reasons will be set in the value of "reason" property of "Sisimai::Fact" instance. The list of all the bounce reasons is available at <https://libsisimai.org/en/reason/>.

SEE ALSO

Sisimai::ARF <http://tools.ietf.org/html/rfc5965> <https://libsisimai.org/en/reason/>

AUTHOR

azumakuniyuki

COPYRIGHT

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

LICENSE

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

2024-07-28 perl v5.38.2