New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sisimai::Rhost::NTTDOCOMO #471
Conversation
… from mfsmax.docomo.ne.jp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
lib/Sisimai/Rhost/NTTDOCOMO.pm
Outdated
sub get { | ||
# Detect bounce reason from NTT docomo | ||
# @param [Sisimai::Fact] argvs Parsed email object | ||
# @return [String] The bounce reason au.com and ezweb.ne.jp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A domain part of NTT DOCOMO is docomo.ne.jp
lib/Sisimai/Rhost/NTTDOCOMO.pm
Outdated
=head1 DESCRIPTION | ||
|
||
Sisimai::Rhost detects the bounce reason from the content of Sisimai::Fact object as an argument | ||
of get() method when the value of C<rhost> of the object is "msmx.au.com" or "lsean.ezweb.ne.jp". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docomo.ne.jp
… mail returned from mfsmax.docomo.ne.jp
|
||
} else { | ||
# The value of "Diagnostic-Code:" field is not empty | ||
for my $e ( keys $messagesof->%* ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use %$messagesof
…NTTDOCOMO for parsing more strictly a bounce mail returned from mfsmax.docomo.ne.jp
lib/Sisimai/Rhost/NTTDOCOMO.pm
t/310-rhost-nttdocomo.t
set-of-emails/maildir/bsd/rhost-nttdocomo-0[1-3].eml
mfsmax.docomo.ne.jp