Provided by: libsisimai-perl_5.1.0-1_all 

NAME
Sisimai::MDA - Error message decoder for MDA
SYNOPSIS
use Sisimai::MDA; my $header = { 'from' => 'mailer-daemon@example.jp' }; my $string = 'mail.local: Disc quota exceeded'; my $return = Sisimai::MDA->inquire($header, \$string);
DESCRIPTION
"Sisimai::MDA" decodes bounced email which created by some MDA, such as Dovecot, "mail.local", "procmail", and so on. This class is called from "Sisimai::Message" only.
CLASS METHODS
"inquire(Header, Reference to message body)" inquire() is a decoder for detecting an error from the mail delivery agent. my $header = { 'from' => 'mailer-daemon@example.jp' }; my $string = 'mail.local: Disc quota exceeded'; my $return = Sisimai::MDA->inquire($header, \$string); warn Dumper $return; $VAR1 = { 'mda' => 'mail.local', 'reason' => 'mailboxfull', 'message' => 'mail.local: Disc quota exceeded' }
AUTHOR
azumakuniyuki
COPYRIGHT
Copyright (C) 2014-2016,2018-2024 azumakuniyuki, All rights reserved.
LICENSE
This software is distributed under The BSD 2-Clause License. perl v5.38.2 2024-07-28 Sisimai::MDA(3pm)