Skip to content
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

Merged
merged 7 commits into from Nov 3, 2022
Merged

Sisimai::Rhost::NTTDOCOMO #471

merged 7 commits into from Nov 3, 2022

Conversation

azumakuniyuki
Copy link
Member

  • lib/Sisimai/Rhost/NTTDOCOMO.pm
  • t/310-rhost-nttdocomo.t
  • set-of-emails/maildir/bsd/rhost-nttdocomo-0[1-3].eml
  • Parse an email bounced from mfsmax.docomo.ne.jp

@azumakuniyuki azumakuniyuki added this to To Do in Sisimai 5 via automation Nov 3, 2022
Copy link
Member Author

@azumakuniyuki azumakuniyuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

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
Copy link
Member Author

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

=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".
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docomo.ne.jp

@azumakuniyuki azumakuniyuki merged commit d79ab42 into 5-beta5 Nov 3, 2022
Sisimai 5 automation moved this from To Do to Done Nov 3, 2022
azumakuniyuki added a commit that referenced this pull request Nov 3, 2022
azumakuniyuki added a commit that referenced this pull request Nov 3, 2022

} else {
# The value of "Diagnostic-Code:" field is not empty
for my $e ( keys $messagesof->%* ) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use %$messagesof

azumakuniyuki added a commit to sisimai/rb-sisimai that referenced this pull request Nov 3, 2022
…NTTDOCOMO for parsing more strictly a bounce mail returned from mfsmax.docomo.ne.jp
azumakuniyuki added a commit that referenced this pull request Nov 3, 2022
azumakuniyuki added a commit to sisimai/set-of-emails that referenced this pull request Nov 3, 2022
@azumakuniyuki azumakuniyuki deleted the rhost-nttdocomo branch February 5, 2024 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Sisimai 5
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant